From a5700082c7d86a29f2842ae4986f8c9a0e3be720 Mon Sep 17 00:00:00 2001 From: Nate Kane Date: Thu, 14 Mar 2013 09:55:58 +1000 Subject: [PATCH] Split multiple filetypes on ".". Thanks @kljohann --- autoload/indent_guides.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/indent_guides.vim b/autoload/indent_guides.vim index 7804b5f..0d141cc 100644 --- a/autoload/indent_guides.vim +++ b/autoload/indent_guides.vim @@ -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