vim:aucmd: Don't highlight trailing spaces in terminal
This commit is contained in:
@@ -13,6 +13,9 @@ if (has('nvim'))
|
|||||||
augroup terminal_no_spellcheck
|
augroup terminal_no_spellcheck
|
||||||
au!
|
au!
|
||||||
autocmd TermOpen * setlocal nospell
|
autocmd TermOpen * setlocal nospell
|
||||||
|
" Do not highlight trailing whitespace in terminal windows
|
||||||
|
autocmd TermOpen * silent! call
|
||||||
|
\ matchdelete(filter(getmatches(), 'v:val["group"] == "TrailingWhitespace"')[0]["id"])
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user