mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-10 10:53: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.
|
||||
"
|
||||
function! indent_guides#exclude_filetype()
|
||||
for ft in split(&ft, ',')
|
||||
for ft in split(&ft, '\.')
|
||||
if index(g:indent_guides_exclude_filetypes, ft) > -1
|
||||
return 1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user