Allow to exclude by buffer types (#235)

* Filter by buftype

* Add docs

* Typo
This commit is contained in:
Santos Gallegos
2018-02-22 16:31:01 +08:00
committed by Yggdroot
parent 86de3cdbda
commit 7a7e368205
2 changed files with 13 additions and 1 deletions
+8 -1
View File
@@ -99,7 +99,14 @@ g:indentLine_fileTypeExclude *g:indentLine_fileTypeExclude*
When opening these types of files, the plugin is disabled by
default.
e.g. let g:indentLine_fileTypeExclude = ['text', 'sh']
Default value is [] which means no file types is excluded.
Default value is [] which means no file types are excluded.
g:indentLine_bufTypeExclude *g:indentLine_bufTypeExclude*
This variable specify a list of buffer types.
When opening these types of buffers, the plugin is disabled
by default.
e.g. let g:indentLine_bufTypeExclude = ['help', 'terminal']
Default value is [] which means no buffer type is excluded.
g:indentLine_bufNameExclude *g:indentLine_bufNameExclude*
This variable specify a list of buffer names, which can be