nvim: set ripgrep
as grepprg
This commit is contained in:
parent
01281629fa
commit
fd3a54ce62
@ -37,6 +37,10 @@ vim.opt.listchars = "tab:>>,trail:_,eol:$,multispace:··,extends:>,precedes:<,n
|
|||||||
vim.opt.encoding = "utf-8"
|
vim.opt.encoding = "utf-8"
|
||||||
vim.opt.fenc = "utf-8"
|
vim.opt.fenc = "utf-8"
|
||||||
|
|
||||||
|
if vim.fn.executable('rg') then
|
||||||
|
vim.opt.grepprg = 'rg --vimgrep --smart-case --hidden'
|
||||||
|
end
|
||||||
|
|
||||||
{{- if eq .chezmoi.username "root" }}
|
{{- if eq .chezmoi.username "root" }}
|
||||||
vim.opt.expandtab = false
|
vim.opt.expandtab = false
|
||||||
{{- else }}
|
{{- else }}
|
||||||
|
Loading…
Reference in New Issue
Block a user