feat: add typescript lsp w/ volar

This commit is contained in:
Simon Lasbrugnas 2024-12-18 12:08:15 +01:00
parent 64597b16c2
commit 146291ce3b
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,7 @@
return {
filetypes = {
"javascript",
"typescript",
"vue",
},
}

View file

@ -0,0 +1,11 @@
return {
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },
init_options = {
vue = {
hybridMode = false,
},
typescript = {
tsdk = "/home/simon/.local/share/nvim/mason/packages/vue-language-server/node_modules/typescript/lib/",
},
},
}