Compare commits
No commits in common. "3df862b86b7b2919612134120b65c6d198de2153" and "9b3d6c7ebf50bb917302bcb4ff0fde43ebf0ae18" have entirely different histories.
3df862b86b
...
9b3d6c7ebf
2 changed files with 12 additions and 19 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 177be29e7b9c084c9200ee4033eb66e04ac536ec
|
Subproject commit 8b0f47d851ee5343d38fe194a06ad16b9b9bd086
|
23
lua/init.lua
23
lua/init.lua
|
@ -107,33 +107,26 @@ vim.lsp.config("hls", {
|
||||||
|
|
||||||
local yarn_path = vim.fn.expand("$HOME/.config/yarn/global/node_modules")
|
local yarn_path = vim.fn.expand("$HOME/.config/yarn/global/node_modules")
|
||||||
|
|
||||||
vim.lsp.enable("vtsls")
|
vim.lsp.enable("ts_ls")
|
||||||
vim.lsp.config("vtsls", {
|
vim.lsp.config("ts_ls", {
|
||||||
settings = {
|
init_options = {
|
||||||
vtsls = {
|
plugins = {
|
||||||
tsserver = {
|
|
||||||
globalPlugins = {
|
|
||||||
{
|
{
|
||||||
configNamespace = "typescript",
|
|
||||||
name = "@vue/typescript-plugin",
|
name = "@vue/typescript-plugin",
|
||||||
location = yarn_path .. "/@vue/typescript-plugin",
|
location = yarn_path .. "/@vue/typescript-plugin",
|
||||||
languages = { "vue" },
|
languages = { "javascript", "typescript", "vue" },
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
filetypes = {
|
filetypes = {
|
||||||
"javascript",
|
"javascript",
|
||||||
"javascriptreact",
|
|
||||||
"typescript",
|
"typescript",
|
||||||
"typescriptreact",
|
|
||||||
"vue",
|
"vue",
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.enable("vue_ls")
|
vim.lsp.enable("volar")
|
||||||
vim.lsp.config("vue_ls", {
|
vim.lsp.config("volar", {
|
||||||
init_options = {
|
init_options = {
|
||||||
typescript = {
|
typescript = {
|
||||||
tsdk = yarn_path .. "/typescript/lib",
|
tsdk = yarn_path .. "/typescript/lib",
|
||||||
|
|
Loading…
Reference in a new issue