Added a few lss and configured lua ls for luarocks support
This commit is contained in:
parent
299f2e3e72
commit
32584838f6
7
init.lua
7
init.lua
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue