preservim / vim-indent-guides

A Vim plugin for visually displaying indent levels in code
MIT License
2.62k stars 162 forks source link

Allow exclude files with no 'filetype' set #135

Closed noscript closed 3 years ago

noscript commented 6 years ago

Rendering indentation in some huge plaintext files can slowdown Vim tremendously. This PR will allow use '' to specify unset filetype, e.g.:

let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', '']

P.S. I renamed myself from @sergey-vlasovto @noscript :)

P.P.S. This is a re-upload of #122 with a different source branch, since GitHub doesn't allow to edit that in the original PR.

alerque commented 1 year ago

Cherry picked as 9a106c7.