Split multiple filetypes on ".".

Thanks @kljohann
This commit is contained in:
Nate Kane
2013-03-14 09:55:58 +10:00
parent d29fbb3fa3
commit a5700082c7

View File

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