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;
|
||||
};
|
||||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font.name = "FiraCode Nerd Font Mono Retina";
|
||||
settings = {
|
||||
font_size = 20;
|
||||
};
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -214,6 +222,10 @@
|
|||
pkgs.nixFlakes
|
||||
pkgs.nixfmt
|
||||
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.pandoc
|
||||
pkgs.pgcli
|
||||
|
|
|
@ -312,7 +312,7 @@ _G.load_config = function()
|
|||
end
|
||||
|
||||
-- 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
|
||||
nvim_lsp[lsp].setup { on_attach = on_attach }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue