nvim: configure clangd
This commit is contained in:
parent
2ab40208fc
commit
6ef1d85a66
@ -151,6 +151,7 @@ in {
|
||||
(lib.mkIf devTools [
|
||||
pkgs.vimPlugins.vim-go
|
||||
pkgs.vimPlugins.zig-vim
|
||||
pkgs.vimPlugins.nvim-lspconfig
|
||||
])
|
||||
];
|
||||
extraConfig = builtins.readFile ./vimrc;
|
||||
|
@ -1,3 +1,5 @@
|
||||
require'lspconfig'.clangd.setup{}
|
||||
|
||||
vim.api.nvim_exec([[
|
||||
set grepprg=@ripgrep@/bin/rg\ --vimgrep grepformat^=%f:%l:%c:%m
|
||||
]], false)
|
||||
|
Loading…
Reference in New Issue
Block a user