ok fix
This commit is contained in:
parent
ceadebd22d
commit
1b9467751a
1 changed files with 3 additions and 3 deletions
6
init.lua
6
init.lua
|
@ -508,9 +508,9 @@ require('lazy').setup({
|
||||||
|
|
||||||
-- You can add other tools here that you want Mason to install
|
-- You can add other tools here that you want Mason to install
|
||||||
-- 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)
|
local ensure_installed = vim.tbl_keys(servers or {})
|
||||||
vim.list_extend(ensure_installed, {
|
vim.list_extend(ensure_installed, {
|
||||||
'stylua',
|
'stylua', -- Used to format lua code
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Ensure the servers above are installed
|
-- Ensure the servers above are installed
|
||||||
|
@ -524,7 +524,7 @@ require('lazy').setup({
|
||||||
cmd = server.cmd,
|
cmd = server.cmd,
|
||||||
settings = server.settings,
|
settings = server.settings,
|
||||||
filetypes = server.filetypes,
|
filetypes = server.filetypes,
|
||||||
capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities),
|
capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}),
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue