ignore moc_ files

This commit is contained in:
Mathieu Maret 2018-07-11 17:55:43 +02:00
parent 358a30c8bd
commit d694a515f6
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
*.o
*.d
*.swp
moc_*
cscope.*
tags
*.pyc

View File

@ -30,7 +30,7 @@ if has("cscope")
\ cscope -bkR
command! CscopeFileBuild
\ :!echo 'building cscope database for all language';
\ find . -name '*.py' -o -name '*.java' -o -iname '*.[ch]' -o -name '[*.cpp]' -o -name '[*.hpp]' > cscope.files
\ find . -name '*.py' -o -name '*.java' -o -iname '*.[ch]' -o -name '[*.cpp]' -o -name '[*.hpp]' | grep -v 'moc_' > cscope.files
if has("cscope")
map <S-F8> :CtagsBuild<CR><CR>:CscopeBuild<CR><CR>:cscope reset<CR><CR>:cscope add cscope.out<CR><CR>