diff --git a/.config/git/ignore b/.config/git/ignore index d1dd2a9..4ac9f93 100644 --- a/.config/git/ignore +++ b/.config/git/ignore @@ -4,6 +4,7 @@ *.o *.d *.swp +moc_* cscope.* tags *.pyc diff --git a/.vim/plugin/cscope_plus.vim b/.vim/plugin/cscope_plus.vim index 92bd738..f114006 100644 --- a/.vim/plugin/cscope_plus.vim +++ b/.vim/plugin/cscope_plus.vim @@ -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 :CtagsBuild:CscopeBuild:cscope reset:cscope add cscope.out