diff --git a/lua/core/bootstrap.lua b/lua/core/bootstrap.lua index c498b45..4654240 100644 --- a/lua/core/bootstrap.lua +++ b/lua/core/bootstrap.lua @@ -21,7 +21,8 @@ require("lazy").setup({ }, defaults = { -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup. - -- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default. + -- If you know what you're doing, you can set this to `true` + -- to have all your custom plugins lazy-loaded by default. lazy = false, -- It's recommended to leave version=false for now, since a lot the plugin that support versioning, -- have outdated releases, which may break your Neovim install. diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 5789a27..a25e311 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -33,11 +33,11 @@ return { [""] = cmp.mapping.scroll_docs(4), [""] = cmp.mapping.complete(), [""] = cmp.mapping.abort(), - [""] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + [""] = cmp.mapping.confirm({ select = true }), [""] = cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true, - }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + }), [""] = function(fallback) cmp.abort() fallback() diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 015af98..4bf2a34 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -15,9 +15,6 @@ return { spacing = 4, source = "if_many", prefix = "●", - -- this will set set the prefix to a function that returns the diagnostics icon based on the severity - -- this only works on a recent 0.10.0 build. Will be set to "●" when not supported - -- prefix = "icons", }, severity_sort = true, float = { @@ -152,7 +149,6 @@ return { for server, server_opts in pairs(servers) do if server_opts then server_opts = server_opts == true and {} or server_opts - -- run manual setup if mason=false or if this is a server that cannot be installed with mason-lspconfig if server_opts.mason == false or not vim.tbl_contains(all_mslp_servers, server) then setup(server) else