Compare commits

..

2 commits

Author SHA1 Message Date
pull[bot]
17cfd6196d
Merge pull request #303 from dmitmel/master
[pull] master from dmitmel:master
2021-07-01 19:19:42 +00:00
Dmytro Meleshko
8f933e667b [git] add .ccls-cache to the global ignore list 2021-07-01 19:14:37 +03:00
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
Session.vim Session.vim
.project.vim .project.vim
.DS_Store .DS_Store
.ropeproject .ropeproject/
.ccls-cache/
*~ *~

View file

@ -11,7 +11,7 @@ nnoremap <silent><expr> <CR> empty(&buftype) ? ":write<bar>wall\<CR>" : "\<CR>"
if executable('rg') if executable('rg')
let s:rg_cmd = "rg --hidden --follow" let s:rg_cmd = "rg --hidden --follow"
let s:rg_ignore = split(&wildignore, ',') + [ 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) . "'}'" let s:rg_cmd .= " --glob '!{'" . shellescape(join(s:rg_ignore, ','), 1) . "'}'"