neovim: add @vue/typescript-plugin
This commit is contained in:
parent
da1cec5765
commit
2195435753
1 changed files with 11 additions and 2 deletions
|
@ -125,7 +125,16 @@ in
|
||||||
"cargo.autoreload" = true;
|
"cargo.autoreload" = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
tsserver = { };
|
tsserver = rec {
|
||||||
|
filetypes = [ "javascript" "typescript" "vue" ];
|
||||||
|
init_options.plugins = [
|
||||||
|
{
|
||||||
|
name = "@vue/typescript-plugin";
|
||||||
|
location = "./node_modules/@vue/typescript-plugin";
|
||||||
|
languages = filetypes;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
eslint = {
|
eslint = {
|
||||||
on_attach = config.fn.lspconfig-eslint-on-attach.lambda;
|
on_attach = config.fn.lspconfig-eslint-on-attach.lambda;
|
||||||
};
|
};
|
||||||
|
@ -142,7 +151,7 @@ in
|
||||||
denols = {
|
denols = {
|
||||||
root_dir = call "${config.plugin.nvim-lspconfig.varName}.util.root_pattern" [ "deno.json" "deno.jsonc" ];
|
root_dir = call "${config.plugin.nvim-lspconfig.varName}.util.root_pattern" [ "deno.json" "deno.jsonc" ];
|
||||||
};
|
};
|
||||||
jdtls = { cmd = ["jdtls"]; };
|
jdtls = { cmd = [ "jdtls" ]; };
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins.snippet.luasnip.settings = {
|
plugins.snippet.luasnip.settings = {
|
||||||
|
|
Loading…
Reference in a new issue