]> git.rmz.io Git - dotfiles.git/commitdiff
vim: don't show trailing space in qf windows
authorSamir Benmendil <me@rmz.io>
Sat, 1 May 2021 14:09:05 +0000 (15:09 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 1 May 2021 14:25:48 +0000 (15:25 +0100)
vim/vimrc

index c467448a581afb2adb4dd93086d6e57084c42f03..6b2c8abe0a4a9974943cab2f4443750b32965f62 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -161,8 +161,9 @@ set listchars+=extends:❯,precedes:❮
 set listchars+=trail:·
 augroup trailing
     au!
-    au InsertEnter * :set listchars-=trail:·
-    au InsertLeave * :set listchars+=trail:·
+    au FileType qf setlocal listchars-=trail:·
+    au InsertEnter * set listchars-=trail:·
+    au InsertLeave * set listchars+=trail:·
 augroup END
 
 set scrolloff=5                 " number of screen lines to show around the cursor