Closed lukas-reineke closed 4 years ago
Seems this is fixed in general, though I still have issues with indentLine exclusions not working in Terminal-Normal mode (buftype=terminal
, filetype=
) and when viewing commits that were pulled with vim-plug (buftype=git
, filetype=nofile
).
Edit: Perhaps related to #276.
s:AutoResetWidth()
checksenable
from both buffer and globalindentLine_enabled
variable. https://github.com/Yggdroot/indentLine/blob/15aceda8c4eea621b66faa8673fca0b9fbe2f457/after/plugin/indentLine.vim#L268-L272And then writes this value to the buffer
indentLine_enabled
variable. https://github.com/Yggdroot/indentLine/blob/15aceda8c4eea621b66faa8673fca0b9fbe2f457/after/plugin/indentLine.vim#L280This breaks excluded filetypes/buftypes/bufnames because all buffers are now explicitly enabled and skip the filter. https://github.com/Yggdroot/indentLine/blob/15aceda8c4eea621b66faa8673fca0b9fbe2f457/after/plugin/indentLine.vim#L326