set shiftwidth to 2 | format all files
big thanks to @ghifarit53
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
local present, lsp_installer = pcall(require, "nvim-lsp-installer")
|
||||
|
||||
if not present then
|
||||
return
|
||||
return
|
||||
end
|
||||
|
||||
local options = {
|
||||
-- ensure_installed is not needed as automatic_installation is enabled
|
||||
-- then any lsp server you setup by lspconfig is going to get installed automatically!
|
||||
-- ensure_installed is not needed as automatic_installation is enabled
|
||||
-- then any lsp server you setup by lspconfig is going to get installed automatically!
|
||||
|
||||
-- ensure_installed = { "lua" },
|
||||
automatic_installation = true,
|
||||
-- ensure_installed = { "lua" },
|
||||
automatic_installation = true,
|
||||
|
||||
ui = {
|
||||
icons = {
|
||||
server_installed = " ",
|
||||
server_pending = " ",
|
||||
server_uninstalled = " ﮊ",
|
||||
},
|
||||
keymaps = {
|
||||
toggle_server_expand = "<CR>",
|
||||
install_server = "i",
|
||||
update_server = "u",
|
||||
check_server_version = "c",
|
||||
update_all_servers = "U",
|
||||
check_outdated_servers = "C",
|
||||
uninstall_server = "X",
|
||||
},
|
||||
},
|
||||
ui = {
|
||||
icons = {
|
||||
server_installed = " ",
|
||||
server_pending = " ",
|
||||
server_uninstalled = " ﮊ",
|
||||
},
|
||||
keymaps = {
|
||||
toggle_server_expand = "<CR>",
|
||||
install_server = "i",
|
||||
update_server = "u",
|
||||
check_server_version = "c",
|
||||
update_all_servers = "U",
|
||||
check_outdated_servers = "C",
|
||||
uninstall_server = "X",
|
||||
},
|
||||
},
|
||||
|
||||
max_concurrent_installers = 10,
|
||||
max_concurrent_installers = 10,
|
||||
}
|
||||
|
||||
options = require("core.utils").load_override(options, "williamboman/nvim-lsp-installer")
|
||||
|
||||
Reference in New Issue
Block a user