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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue