ignore moc_ files
This commit is contained in:
parent
358a30c8bd
commit
d694a515f6
@ -4,6 +4,7 @@
|
|||||||
*.o
|
*.o
|
||||||
*.d
|
*.d
|
||||||
*.swp
|
*.swp
|
||||||
|
moc_*
|
||||||
cscope.*
|
cscope.*
|
||||||
tags
|
tags
|
||||||
*.pyc
|
*.pyc
|
||||||
|
@ -30,7 +30,7 @@ if has("cscope")
|
|||||||
\ cscope -bkR
|
\ cscope -bkR
|
||||||
command! CscopeFileBuild
|
command! CscopeFileBuild
|
||||||
\ :!echo 'building cscope database for all language';
|
\ :!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")
|
if has("cscope")
|
||||||
map <S-F8> :CtagsBuild<CR><CR>:CscopeBuild<CR><CR>:cscope reset<CR><CR>:cscope add cscope.out<CR><CR>
|
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