Changes to the mason config to remove ui customization and removing the gdscript setup for now.
This commit is contained in:
parent
8670032827
commit
53539af0fa
13
init.lua
13
init.lua
@ -329,21 +329,14 @@ end
|
|||||||
|
|
||||||
-- Module loading
|
-- Module loading
|
||||||
if mason and mason_lspconfig and nvim_lsp then
|
if mason and mason_lspconfig and nvim_lsp then
|
||||||
mason.setup {
|
mason.setup {}
|
||||||
ui = {
|
|
||||||
icons = {
|
|
||||||
package_installed = "✓",
|
|
||||||
package_pending = "➜",
|
|
||||||
package_uninstalled = "✗"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
mason_lspconfig.setup {
|
mason_lspconfig.setup {
|
||||||
automatic_installation = true,
|
automatic_installation = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
mason_lspconfig.setup_handlers {
|
mason_lspconfig.setup_handlers {
|
||||||
|
-- Default LSP handler
|
||||||
function(server_name)
|
function(server_name)
|
||||||
nvim_lsp[server_name].setup {
|
nvim_lsp[server_name].setup {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
@ -389,7 +382,7 @@ if mason and mason_lspconfig and nvim_lsp then
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- Manually adding gdscript as Mason doesn't handle this anymore
|
-- Manually adding gdscript as Mason doesn't handle this anymore
|
||||||
nvim_lsp.gdscript.setup {}
|
-- nvim_lsp.gdscript.setup {}
|
||||||
end
|
end
|
||||||
|
|
||||||
if telescope and telescope_builtin then
|
if telescope and telescope_builtin then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user