1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Skip languages that are disabled in ctags

This commit is contained in:
Jan Larres
2017-01-05 17:12:33 +13:00
parent 6c60f85938
commit 1c8feee61f

View File

@@ -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