added more LSP Servers to neovim
This commit is contained in:
parent
d1cebc7e24
commit
42b944eeb4
2 changed files with 13 additions and 1 deletions
12
home.nix
12
home.nix
|
@ -49,6 +49,14 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
font.name = "FiraCode Nerd Font Mono Retina";
|
||||||
|
settings = {
|
||||||
|
font_size = 20;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -214,6 +222,10 @@
|
||||||
pkgs.nixFlakes
|
pkgs.nixFlakes
|
||||||
pkgs.nixfmt
|
pkgs.nixfmt
|
||||||
pkgs.nodePackages.pyright
|
pkgs.nodePackages.pyright
|
||||||
|
pkgs.nodePackages.typescript-language-server
|
||||||
|
pkgs.nodePackages.vscode-html-languageserver-bin
|
||||||
|
pkgs.nodePackages.vscode-json-languageserver
|
||||||
|
pkgs.nodePackages.yaml-language-server
|
||||||
pkgs.openssl
|
pkgs.openssl
|
||||||
pkgs.pandoc
|
pkgs.pandoc
|
||||||
pkgs.pgcli
|
pkgs.pgcli
|
||||||
|
|
|
@ -312,7 +312,7 @@ _G.load_config = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Enable the following language servers
|
-- Enable the following language servers
|
||||||
local servers = { 'jdtls', 'pyright', 'rnix', 'sourcekit' }
|
local servers = { 'html', 'jdtls', 'jsonls', 'pyright', 'rnix', 'sourcekit', 'tsserver', 'yamlls' }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup { on_attach = on_attach }
|
nvim_lsp[lsp].setup { on_attach = on_attach }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue