ignore moc_ files
This commit is contained in:
parent
358a30c8bd
commit
d694a515f6
@ -4,6 +4,7 @@
|
||||
*.o
|
||||
*.d
|
||||
*.swp
|
||||
moc_*
|
||||
cscope.*
|
||||
tags
|
||||
*.pyc
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user