aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/xolox/easytags
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/xolox/easytags')
-rw-r--r--autoload/xolox/easytags/filetypes.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/xolox/easytags/filetypes.vim b/autoload/xolox/easytags/filetypes.vim
index bba6386..aef073a 100644
--- a/autoload/xolox/easytags/filetypes.vim
+++ b/autoload/xolox/easytags/filetypes.vim
@@ -75,7 +75,8 @@ endfunction
function! xolox#easytags#filetypes#find_ctags_aliases(canonical_vim_filetype) " {{{1
" Find Exuberant Ctags languages that correspond to a canonical, supported Vim file type.
if has_key(s:filetype_groups, a:canonical_vim_filetype)
- let filetypes = copy(s:filetype_groups[a:canonical_vim_filetype])
+ let filetypes = [a:canonical_vim_filetype]
+ call extend(filetypes, s:filetype_groups[a:canonical_vim_filetype])
return map(filetypes, 'xolox#easytags#filetypes#to_ctags(v:val)')
else
return [xolox#easytags#filetypes#to_ctags(a:canonical_vim_filetype)]