mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-09 10:23:46 -05:00
feat: Add option to check buftype option before enabling
Closes #101 Instead of only having a big list of "naughty" filetypes, have an option to check for the `buftype` and skip if set to anything.
This commit is contained in:
@@ -170,6 +170,14 @@ Default: 0. Values: 0 or 1.
|
||||
let g:indent_guides_enable_on_vim_startup = 0
|
||||
<
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*'indent_guides_exclude_buftype'*
|
||||
Use this option to try and disable the plugin on non-file buffers
|
||||
|
||||
Default: 0. Values: 0 or 1
|
||||
>
|
||||
let g:indent_guides_exclude_buftype = 0
|
||||
<
|
||||
------------------------------------------------------------------------------
|
||||
*'indent_guides_exclude_filetypes'*
|
||||
Use this option to specify a list of filetypes to disable the plugin for.
|
||||
|
||||
Reference in New Issue
Block a user