[neovim] Set nolist on terminal windows?
Hi!
I have my vimrc configured with:
set listchars=trail:·,tab:▸\ ,eol:¬
set list
To show white space in my files, but this also means that if I have a terminal open in neovim, it also displays it.
Is there a way to configure my vimrc to set nolist, but only if the window is a terminal window?
Thanks!
Edit: Solution found
Posted Feb 3, 2016, 8:31 AM UTC · edited
25
I usually use an autocommand :
Exactly what I was looking for! Thanks!