]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: don't show trailing space in qf windows
[dotfiles.git] / 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