Closed ZwodahS closed 4 years ago
Use Cases :
Some plugins create buffers (i.e. Defx) and the filetype isn't ignored even when g:extra_whitespace_ignored_filetypes is set. I believed that the filetype is set after, hence no autocmd is triggered.
g:extra_whitespace_ignored_filetypes
This fix should fix it.
I've never seen this but this SO agrees with your assessment: https://stackoverflow.com/questions/23496243/autocommand-for-new-file-of-specific-filetype#23496504
Looks good, thanks!
Use Cases :
Some plugins create buffers (i.e. Defx) and the filetype isn't ignored even when
g:extra_whitespace_ignored_filetypes
is set. I believed that the filetype is set after, hence no autocmd is triggered.This fix should fix it.