From 9f56adf1ed6f2c76f30eb5a07ed3e0c420e88bb9 Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Wed, 10 Apr 2024 16:52:16 -0300 Subject: [PATCH] add vuejs support --- init.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index e6cbf1d..8f48d5e 100644 --- a/init.lua +++ b/init.lua @@ -359,7 +359,19 @@ local servers = { }, html = { provideFormatter = false }, cssls = {}, - tsserver = {}, + tsserver = { + init_options = { + plugins = { + { + name = "@vue/typescript-plugin", + location = "~/.nvm/versions/node/v20.10.0/lib/node_modules/@vue/typescript-plugin", + languages = { "vue" }, + }, + }, + }, + filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' }, + }, + volar = {}, pyright = {}, jdtls = {