Skip to content

Commit 1e308d5

Browse files
committed
grepprg
1 parent bf7272f commit 1e308d5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lua/options.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ vim.opt.autoread = true
3939
-- split window 从下边和右边出现
4040
vim.opt.splitbelow = false
4141
vim.opt.splitright = true
42+
43+
vim.opt_global.grepprg = "rg --vimgrep --no-heading --smart-case"
44+
vim.opt_global.grepformat = "%f:%l:%c:%m,%f:%l:%m"

0 commit comments

Comments
 (0)