mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-14 21:42:46 +08:00
Skip languages that are disabled in ctags
This commit is contained in:
parent
6c60f85938
commit
1c8feee61f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user