mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-10 19:03:47 -05:00
Split multiple filetypes on ".".
Thanks @kljohann
This commit is contained in:
@@ -271,7 +271,7 @@ endfunction
|
|||||||
" Detect if any of the buffer filetypes should be excluded.
|
" Detect if any of the buffer filetypes should be excluded.
|
||||||
"
|
"
|
||||||
function! indent_guides#exclude_filetype()
|
function! indent_guides#exclude_filetype()
|
||||||
for ft in split(&ft, ',')
|
for ft in split(&ft, '\.')
|
||||||
if index(g:indent_guides_exclude_filetypes, ft) > -1
|
if index(g:indent_guides_exclude_filetypes, ft) > -1
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user