Skip to content

Commit

Permalink
Skip languages that are disabled in ctags
Browse files Browse the repository at this point in the history
  • Loading branch information
majutsushi committed Jan 5, 2017
1 parent 6c60f85 commit 1c8feee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/tagbar.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,9 @@ function! s:GetSupportedFiletypes() abort
let types = split(ctags_output, '\n\+')

for type in types
let s:ctags_types[tolower(type)] = 1
if match(type, '\[disabled\]') == -1
let s:ctags_types[tolower(type)] = 1
endif
endfor

let s:checked_ctags_types = 1
Expand Down

0 comments on commit 1c8feee

Please sign in to comment.