aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:52:56 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:52:56 +0100
commit2ee3a4728031d7c3fe1039416ac1e9837059c8fe (patch)
treeb21bd4b693d7122ecf88a136ffd9ebb59ab3340f /home/.config/nvim/lua
parent73ec350044e49ddbad203f4959357b4a7b17c15b (diff)
downloaddotfiles-2ee3a4728031d7c3fe1039416ac1e9837059c8fe.tar.gz
dotfiles-2ee3a4728031d7c3fe1039416ac1e9837059c8fe.tar.bz2
dotfiles-2ee3a4728031d7c3fe1039416ac1e9837059c8fe.zip
fix(nvim): correct grepformat missing % before f
The pattern "f:%l:%c:%m" was missing the % sigil before f, causing :grep results to fail parsing file names.
Diffstat (limited to 'home/.config/nvim/lua')
-rw-r--r--home/.config/nvim/lua/cfg/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.config/nvim/lua/cfg/options.lua b/home/.config/nvim/lua/cfg/options.lua
index d3b2c08..737860d 100644
--- a/home/.config/nvim/lua/cfg/options.lua
+++ b/home/.config/nvim/lua/cfg/options.lua
@@ -80,7 +80,7 @@ vim.opt.diffopt:append({
if vim.fn.executable("rg") then
opt.grepprg = "rg\\ --vimgrep"
- opt.grepformat = "f:%l:%c:%m"
+ opt.grepformat = "%f:%l:%c:%m"
end
opt.pumblend = 20