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;
|
||||
};
|
||||
};
|
||||
tsserver = { };
|
||||
tsserver = rec {
|
||||
filetypes = [ "javascript" "typescript" "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;
|
||||
};
|
||||
|
@ -142,7 +151,7 @@ in
|
|||
denols = {
|
||||
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 = {
|
||||
|
|
Loading…
Reference in a new issue