fix: fix ripgrep output

This commit is contained in:
fiplox 2023-04-20 14:50:06 +02:00
parent 9e3127ffca
commit 83dea5d4ee
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ opt.timeoutlen = 300
opt['foldenable'] = false opt['foldenable'] = false
opt.fillchars = 'eob: ' opt.fillchars = 'eob: '
opt.cmdheight = 1 opt.cmdheight = 1
opt.grepprg = 'rg --vimgrep --no-heading --smart-case' opt.grepprg = 'rg --vimgrep --no-heading --smart-case --hidden'
opt.grepformat = '%f:%l:%c:%m'
-- opt.autochdir = true -- opt.autochdir = true
vim.api.nvim_create_user_command('Cd', 'lcd %:p:h', { nargs = 0 }) vim.api.nvim_create_user_command('Cd', 'lcd %:p:h', { nargs = 0 })