aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoload/xolox/easytags.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim
index 63a0f43..8f302e9 100644
--- a/autoload/xolox/easytags.vim
+++ b/autoload/xolox/easytags.vim
@@ -3,7 +3,7 @@
" Last Change: June 22, 2013
" URL: http://peterodding.com/code/vim/easytags/
-let g:xolox#easytags#version = '3.3.10'
+let g:xolox#easytags#version = '3.3.11'
" Plug-in initialization. {{{1
@@ -242,7 +242,7 @@ endfunction
function! s:prep_cmdline(cfile, tagsfile, firstrun, arguments, context) " {{{3
let languages = xolox#misc#option#get('easytags_languages', {})
let applicable_filetypes = xolox#easytags#select_supported_filetypes(&ft)
- let ctags_language_name = xolox#easytags#to_ctags_ft(applicable_filetypes[0])
+ let ctags_language_name = xolox#easytags#to_ctags_ft(get(applicable_filetypes, 0, ''))
let language = get(languages, ctags_language_name, {})
if empty(language)
let program = xolox#misc#option#get('easytags_cmd')