Compare commits
No commits in common. "f4e4f8ef91100ce7a65e18438321db8d35ccfcc2" and "1e3b9afc4b7ac90460ed25aae80768e91d375dff" have entirely different histories.
f4e4f8ef91
...
1e3b9afc4b
3 changed files with 10 additions and 18 deletions
|
@ -25,12 +25,18 @@ let inherit (lib.nix2lua) call; in
|
|||
"cargo.autoreload" = true;
|
||||
};
|
||||
};
|
||||
tsserver = rec {
|
||||
filetypes = [ "javascript" "javascriptreact" "typescript" "typescriptreact" "vue" ];
|
||||
init_options.plugins = [
|
||||
{
|
||||
name = "@vue/typescript-plugin";
|
||||
location = "./node_modules/@vue/typescript-plugin";
|
||||
languages = filetypes;
|
||||
}
|
||||
];
|
||||
};
|
||||
eslint = {
|
||||
on_attach = config.fn.lspconfig-eslint-on-attach.lambda;
|
||||
flags = {
|
||||
allow_incremental_sync = false;
|
||||
debounce_text_changes = 1000;
|
||||
};
|
||||
};
|
||||
volar = {
|
||||
init_options = {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./ollama.nix
|
||||
./typescript-tools.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue