aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-12-02 22:57:41 +0800
committerjdhao <jdhao@hotmail.com>2021-12-02 22:57:41 +0800
commitd04fce7bbc6c8a6978b6fa3694d30750ec5b5736 (patch)
treeacc155b97a26928321c42ccec5fc163bbacf33d0 /core
parent39e5e1913f432136b8746d64e37494eefa1f07c8 (diff)
update Leaderf rg conf
Suppress permission denied error messages when grepping using ripgrep.
Diffstat (limited to 'core')
-rw-r--r--core/plugins.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index 43b3c20..12edb71 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -101,7 +101,7 @@ let g:Lf_WorkingDirectoryMode = 'a'
nnoremap <silent> <leader>ff :<C-U>Leaderf file --popup<CR>
" Grep project files in popup window
-nnoremap <silent> <leader>fg :<C-U>Leaderf rg --popup<CR>
+nnoremap <silent> <leader>fg :<C-U>Leaderf rg --no-messages --popup<CR>
" Search vim help files
nnoremap <silent> <leader>fh :<C-U>Leaderf help --popup<CR>