]> git.zndr.dk Git - dotfiles.git/commitdiff
Vim grep c-files
authorJannik ZANDER <jzander@grundfos.com>
Mon, 2 Jul 2018 11:01:00 +0000 (13:01 +0200)
committerJannik ZANDER <jzander@grundfos.com>
Mon, 2 Jul 2018 11:01:00 +0000 (13:01 +0200)
.vim/vimrc

index db3b55ebc7cdd5d16c38c509aa245b78e2022f3d..94089b237fe94c3bb095b69f6b88e59b5889daeb 100644 (file)
@@ -80,7 +80,7 @@ if executable('vim-iarbuild.cmd')
 endif
 
 if executable('ag')
-  set grepprg=ag\ --vimgrep\ --skip-vcs-ignores\ --path-to-ignore\ ~/.ignore\ --cpp
+  set grepprg=ag\ --vimgrep\ --skip-vcs-ignores\ --path-to-ignore\ ~/.ignore\ --cpp\ --cc
   set grepformat^=%f:%l:%c:%m   " file:line:coloumn:message
 endif