feat(lsp): Set up vtsls, vue_ls, install miscellaneous plugins

This commit is contained in:
Калистратов Максим
2026-06-02 14:49:22 +03:00
parent c00508b08d
commit 81e111c01e
12 changed files with 171 additions and 11 deletions

View File

@@ -1,14 +1,20 @@
---@type vim.lsp.Config
local settings = {
---@type lspconfig.settings.lua_ls
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
},
workspace = { checkThirdParty = false, library = vim.list_extend({ vim.fn.expand('$VIMRUNTIME') }, vim.api.nvim_get_runtime_file('lua', true)) },
},
},
---@type lspconfig.settings.lua_ls
settings = {
Lua = {
hint = {
enable = true,
},
runtime = {
version = "LuaJIT",
},
workspace = {
checkThirdParty = false,
library = vim.list_extend({ vim.fn.expand("$VIMRUNTIME") }, vim.api.nvim_get_runtime_file("lua", true)),
},
},
},
}
return settings