I am using the vim-better-whitespace plugin to highlight trailing whitespaces. For some buffers, I don't want this behavior and vim-better-whitespace usually provides an option to list the filetypes where it shouldn't apply.
However, I am also using nvim-ipy to integrate with ipython and this plugin opens a new buffer for console output, where
filetype is empty and
buftype is set to
Is there any way to construct an
autocmd to call
DisableWhitespace once the respective ipython buffer is created?