vimrc: rg comes from nix too

This commit is contained in:
2024-02-02 14:07:01 +02:00
committed by Motiejus Jakštys
parent 51d3328e4b
commit 8ccf3d6452
3 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
vim.api.nvim_exec([[
au FileType go nnoremap <buffer> <C-]> :GoDef<CR>
au FileType go let g:go_template_autocreate = 0
set grepprg=@ripgrep@/bin/rg\ --vimgrep grepformat^=%f:%l:%c:%m
au FileType go let g:go_fmt_command = "@gotools@/bin/goimports"
]], false)