Closed
Description
For some reasons, if using nvim-tree.lua in combination with ntpeters/vim-better-whitespace, the whitespaces are highlighted while being in insert mode, which isn't supposed to happen. Disabling nvim-tree.lua fixes the issue.
Simple init.vim
to reproduce the issue (I'm loading the two plugins with vim-plug)
I used a markdown file for the demonstration but it occurs with any filetype (conf, html, json,sh...)
call plug#begin("~/.config/nvim/plugged")
Plug 'ntpeters/vim-better-whitespace'
Plug 'kyazdani42/nvim-tree.lua'
call plug#end()
autocmd FileType markdown EnableWhitespace
After disabling nvim-tree.lua
call plug#begin("~/.config/nvim/plugged")
Plug 'ntpeters/vim-better-whitespace'
"Plug 'kyazdani42/nvim-tree.lua'
call plug#end()
autocmd FileType markdown EnableWhitespace
Any idea?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels