dotfiles/symlinks/config/nvim/plugin/grep.lua

7 lines
189 B
Lua
Raw Permalink Normal View History

2022-06-02 14:52:59 +00:00
-- Vim grep configuration
if vim.fn.executable("rg") == 1 then
vim.o.grepprg = "rg --vimgrep --hidden --glob !.git"
vim.o.grepformat = vim.o.grepformat .. "," .. "%f:%l:%c:%m"
end