tidy up
This commit is contained in:
parent
5ea4aa27b8
commit
5b71f077fa
8
init.lua
8
init.lua
|
|
@ -715,8 +715,7 @@ require('lazy').setup({
|
||||||
-- for you, so that they are available from within Neovim.
|
-- for you, so that they are available from within Neovim.
|
||||||
local ensure_installed = vim.tbl_keys(servers or {})
|
local ensure_installed = vim.tbl_keys(servers or {})
|
||||||
vim.list_extend(ensure_installed, {
|
vim.list_extend(ensure_installed, {
|
||||||
'stylua', -- Used to format Lua code
|
{ 'bash-language-server', auto_update = true },
|
||||||
'ansiblels', -- ansible
|
|
||||||
{
|
{
|
||||||
'gopls',
|
'gopls',
|
||||||
condition = function()
|
condition = function()
|
||||||
|
|
@ -724,11 +723,14 @@ require('lazy').setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'powershell_ls',
|
'powershell_es',
|
||||||
condition = function()
|
condition = function()
|
||||||
return vim.fn.executable 'pwsh' == 1
|
return vim.fn.executable 'pwsh' == 1
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
-- no extra requirement list
|
||||||
|
'ansiblels', -- ansible
|
||||||
|
'stylua', -- Used to format Lua code
|
||||||
'dockerls', -- dockerfile
|
'dockerls', -- dockerfile
|
||||||
})
|
})
|
||||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue