neovim: add @vue/typescript-plugin

This commit is contained in:
Dmitriy Pleshevskiy 2024-06-07 20:24:00 +03:00
parent da1cec5765
commit 2195435753
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -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;
};