renamed changed lsp names and use web-devicons as a full plugin (#49)

fix #48 

- Renamed LSP servers as they were changed upstream.
- Enable web-devicons as a nixvim plugin instead of installing them as a
extra package.
This commit is contained in:
Roel de Cort 2024-10-23 22:55:03 +02:00 committed by GitHub
parent 247e33106c
commit e522e9ea2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 6 deletions

View file

@ -51,5 +51,6 @@ _: {
./plugins/utils/markdown-preview.nix
./plugins/utils/obsidian.nix
./plugins/utils/toggleterm.nix
./plugins/utils/web-devicons.nix
];
}

View file

@ -8,20 +8,20 @@
inlayHints = true;
servers = {
html = {enable = true;};
lua-ls = {enable = true;};
nil-ls = {enable = true;};
lua_ls = {enable = true;};
nil_ls = {enable = true;};
ts_ls = {enable = true;};
marksman = {enable = true;};
pyright = {enable = true;};
gopls = {enable = true;};
terraformls = {enable = true;};
tsserver = {enable = true;};
ansiblels = {enable = true;};
jsonls = {enable = true;};
helm-ls = {
helm_ls = {
enable = true;
extraOptions = {
settings = {
"helm-ls" = {
"helm_ls" = {
yamlls = {
path = "${pkgs.yaml-language-server}/bin/yaml-language-server";
};

View file

@ -1,5 +1,4 @@
{pkgs, ...}: {
extraPlugins = with pkgs.vimPlugins; [
nvim-web-devicons
];
}

View file

@ -0,0 +1,5 @@
{
plugins.web-devicons = {
enable = true;
};
}