Merge pull request #303 from dmitmel/master

[pull] master from dmitmel:master
This commit is contained in:
pull[bot] 2021-07-01 19:19:42 +00:00 committed by GitHub
commit 17cfd6196d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
Session.vim
.project.vim
.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')
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) . "'}'"