update libvirt & add clangd lsp
This commit is contained in:
parent
e173ddffc9
commit
7ce476adb3
@ -123,6 +123,14 @@ nvim_lsp.svelte.setup({
|
|||||||
cmd = { nix_vars.sveltels, "--stdio" },
|
cmd = { nix_vars.sveltels, "--stdio" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- C LSP Configuration
|
||||||
|
nvim_lsp.clangd.setup({
|
||||||
|
on_attach = on_attach,
|
||||||
|
flags = lsp_flags,
|
||||||
|
capabilities = capabilities,
|
||||||
|
cmd = { nix_vars.clangd },
|
||||||
|
})
|
||||||
|
|
||||||
-- Lua LSP Configuration
|
-- Lua LSP Configuration
|
||||||
nvim_lsp.lua_ls.setup({
|
nvim_lsp.lua_ls.setup({
|
||||||
on_attach = on_attach_no_formatting,
|
on_attach = on_attach_no_formatting,
|
||||||
|
@ -201,6 +201,7 @@ in
|
|||||||
tsls = "${pkgs.nodePackages.typescript-language-server}/bin/typescript-language-server",
|
tsls = "${pkgs.nodePackages.typescript-language-server}/bin/typescript-language-server",
|
||||||
golintls = "${pkgs.golangci-lint-langserver}/bin/golangci-lint-langserver",
|
golintls = "${pkgs.golangci-lint-langserver}/bin/golangci-lint-langserver",
|
||||||
vscls = "${pkgs.nodePackages.vscode-langservers-extracted}",
|
vscls = "${pkgs.nodePackages.vscode-langservers-extracted}",
|
||||||
|
clangd = "${pkgs.clang-tools}/bin/clangd",
|
||||||
}
|
}
|
||||||
return nix_vars
|
return nix_vars
|
||||||
'';
|
'';
|
||||||
|
@ -16,6 +16,7 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
win-virtio
|
win-virtio
|
||||||
|
virtiofsd
|
||||||
libvirt
|
libvirt
|
||||||
qemu_kvm
|
qemu_kvm
|
||||||
] ++ lib.optionals cfg.withVirtManager [
|
] ++ lib.optionals cfg.withVirtManager [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user