Added a few lss and configured lua ls for luarocks support

This commit is contained in:
Nikita Avgustanov 2026-02-17 22:09:06 +04:00
parent 299f2e3e72
commit 32584838f6
1 changed files with 7 additions and 0 deletions

View File

@ -484,6 +484,7 @@ require('lazy').setup({
library = { library = {
-- Load luvit types when the `vim.uv` word is found -- Load luvit types when the `vim.uv` word is found
{ path = '${3rd}/luv/library', words = { 'vim%.uv' } }, { path = '${3rd}/luv/library', words = { 'vim%.uv' } },
vim.fn.expand '~/.luarocks/share/lua/5.3/',
}, },
}, },
}, },
@ -687,6 +688,9 @@ require('lazy').setup({
gopls = {}, gopls = {},
tofu_ls = {}, tofu_ls = {},
marksman = {}, marksman = {},
bashls = {},
jsonls = {},
yamlls = {},
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@ -737,7 +741,10 @@ require('lazy').setup({
ensure_installed = { ensure_installed = {
'gopls', 'gopls',
'yamlls', 'yamlls',
'jsonls',
'solargraph', 'solargraph',
'bashls',
'lua_ls',
}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer) }, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
automatic_installation = false, automatic_installation = false,
handlers = { handlers = {