diff options
author | Yigit Sever | 2021-11-18 19:48:52 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-18 19:48:52 +0300 |
commit | 0276785e2b0da2f4a6e37d0b167fde14e8bf08bc (patch) | |
tree | 43ea50ac5ba4ddcbe777341eb79a43f4df9f27fd /.config | |
parent | a7f87f72ea7af07ca02e691f4f34e512d296fa17 (diff) | |
download | dotfiles-0276785e2b0da2f4a6e37d0b167fde14e8bf08bc.tar.gz dotfiles-0276785e2b0da2f4a6e37d0b167fde14e8bf08bc.tar.bz2 dotfiles-0276785e2b0da2f4a6e37d0b167fde14e8bf08bc.zip |
nvim: rg grepformat explicit columns
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/settings.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index 895d6d9..f092253 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua | |||
@@ -84,6 +84,7 @@ o.cinoptions = "l1" | |||
84 | 84 | ||
85 | if vim.fn.executable("rg") then | 85 | if vim.fn.executable("rg") then |
86 | o.grepprg = "rg --vimgrep --no-heading --smart-case" | 86 | o.grepprg = "rg --vimgrep --no-heading --smart-case" |
87 | o.grepformat = "%f:%l:%c:%m,%f:%l:%m" | ||
87 | end | 88 | end |
88 | 89 | ||
89 | -- iwhite: ignore changes in amount of white space. | 90 | -- iwhite: ignore changes in amount of white space. |