mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Merge pull request #303 from dmitmel/master
[pull] master from dmitmel:master
This commit is contained in:
commit
17cfd6196d
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
Session.vim
|
Session.vim
|
||||||
.project.vim
|
.project.vim
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.ropeproject
|
.ropeproject/
|
||||||
|
.ccls-cache/
|
||||||
*~
|
*~
|
||||||
|
|
|
@ -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) . "'}'"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue