diff --git a/lua/default_config.lua b/lua/default_config.lua index afa0370..949d85b 100644 --- a/lua/default_config.lua +++ b/lua/default_config.lua @@ -75,7 +75,7 @@ M.options.plugin = { -- enable and disable plugins (false for disable) M.plugin_status = { - autosave = true, -- to autosave files + autosave = false, -- to autosave files blankline = true, -- beautified blank lines bufferline = true, -- buffer shown as tabs cheatsheet = true, -- fuzzy search your commands/keymappings @@ -89,9 +89,9 @@ M.plugin_status = { lspsignature = true, -- lsp enhancements neoformat = true, -- universal formatter neoscroll = true, -- smooth scroll - telescope_media = true, -- see media files in telescope picker - truezen = true, -- no distraction mode for nvim - vim_fugitive = true, -- git in nvim + telescope_media = false, -- see media files in telescope picker + truezen = false, -- no distraction mode for nvim + vim_fugitive = false, -- git in nvim vim_matchup = true, -- % magic, match it but improved } diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index f0636f1..6902706 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -1,5 +1,6 @@ local present1, lspconfig = pcall(require, "lspconfig") local present2, lspinstall = pcall(require, "lspinstall") + if not (present1 or present2) then return end @@ -110,10 +111,10 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagn update_in_insert = false, -- update diagnostics insert mode }) vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { - border = "single", + border = "single", }) vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { - border = "single", + border = "single", }) -- suppress error messages from lang servers