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