diff --git a/git/gitignore_global b/git/gitignore_global index d5cb4b8..61d9754 100644 --- a/git/gitignore_global +++ b/git/gitignore_global @@ -1,5 +1,6 @@ Session.vim .project.vim .DS_Store -.ropeproject +.ropeproject/ +.ccls-cache/ *~ diff --git a/nvim/plugin/files.vim b/nvim/plugin/files.vim index 386d16c..dfe6ee9 100644 --- a/nvim/plugin/files.vim +++ b/nvim/plugin/files.vim @@ -11,7 +11,7 @@ nnoremap empty(&buftype) ? ":writewall\" : "\" if executable('rg') let s:rg_cmd = "rg --hidden --follow" let s:rg_ignore = split(&wildignore, ',') + [ - \ 'node_modules', 'target', 'build', 'dist', '.stack-work' + \ 'node_modules', 'target', 'build', 'dist', '.stack-work', '.ccls-cache' \ ] let s:rg_cmd .= " --glob '!{'" . shellescape(join(s:rg_ignore, ','), 1) . "'}'"