neovim: use plugin from nixeovim

This commit is contained in:
Dmitriy Pleshevskiy 2024-08-10 18:17:50 +03:00
parent f4e4f8ef91
commit 33c226e119
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
4 changed files with 15 additions and 18 deletions

View file

@ -299,11 +299,11 @@
]
},
"locked": {
"lastModified": 1720807102,
"narHash": "sha256-e4qq/+Zi1A/xv78Siuxu1jxYkGWjr/o0Xb1DBbQ5Q/M=",
"lastModified": 1723290966,
"narHash": "sha256-HlSsIOCqmSa4pYMoBlFMfyWuw0rpgGfJdcLHaey+WoM=",
"ref": "refs/heads/main",
"rev": "a6b4b729baf5c9472e9e069cd655edc8359bbada",
"revCount": 87,
"rev": "328ed672995614acb3d42752f20ba41b7f6e77b3",
"revCount": 93,
"type": "git",
"url": "https://git.pleshevski.ru/pleshevskiy/nixeovim"
},

View file

@ -48,4 +48,15 @@ let inherit (lib.nix2lua) call; in
jdtls = { cmd = [ "jdtls" ]; };
jsonls = { };
};
plugins.language-server.typescript-tools = {
enable = true;
serverSettings = {
filetypes = [ "javascript" "javascriptreact" "typescript" "typescriptreact" "vue" ];
settings = {
tsserver_max_memory = "auto";
tsserver_plugins = [ "@vue/typescript-plugin" ];
};
};
};
}

View file

@ -1,6 +1,5 @@
{
imports = [
./ollama.nix
./typescript-tools.nix
];
}

View file

@ -1,13 +0,0 @@
{
plugin.typescript-tools-nvim = {
enable = true;
name = "typescript-tools";
setupSettings = {
filetypes = [ "javascript" "javascriptreact" "typescript" "typescriptreact" "vue" ];
settings = {
tsserver_max_memory = "auto";
tsserver_plugins = [ "@vue/typescript-plugin" ];
};
};
};
}