diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-03-14 15:45:49 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-03-14 15:45:49 +0100 |
commit | 720151bd596b15b74fe053f0722c49b3cfe41b01 (patch) | |
tree | f1103698a2fc0f15751544a90c5cf512d3c6eddc /.config/nvim/lua/mango | |
parent | 0142f4b1771bd119f62569591b52d00dbafbd672 (diff) |
nvim: Set grepprg
Diffstat (limited to '.config/nvim/lua/mango')
-rw-r--r-- | .config/nvim/lua/mango/set.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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() |