From 720151bd596b15b74fe053f0722c49b3cfe41b01 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 14 Mar 2024 15:45:49 +0100 Subject: nvim: Set grepprg --- .config/nvim/lua/mango/set.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/nvim/lua/mango') diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua index 1dc9675..6b92625 100644 --- a/.config/nvim/lua/mango/set.lua +++ b/.config/nvim/lua/mango/set.lua @@ -44,6 +44,8 @@ g.netrw_banner = 0 g.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' -- Enable line-numbers g.netrw_list_hide = [[^\(\.\|\.\.\)/\?$,^__pycache__/\?,.*\.\(o\|pyc\)$]] +vim.cmd [[ set grepprg=rg\ --vimgrep ]] + -- Disable auto commenting api.nvim_create_autocmd('BufEnter', { callback = function() -- cgit v1.2.3