repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by admin
neovim/lua/bugabinga/options/grep.lua
Rawlocal executable = require 'std.executable'
if executable 'rg' then
-- use ripgrep instead of grep
vim.opt.grepprg = 'rg --hidden --vimgrep --no-heading --smart-case -- '
vim.opt.grepformat = '%f:%l:%c:%m'
end
require 'bugabinga.health'.add_dependency
{
name = 'Ripgrep',
name_of_executable = 'rg',
}