disable some plugins by default

pull/314/head
siduck76 3 years ago
parent c66fb4ff3d
commit 3dc1db884c

@ -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
}

@ -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

Loading…
Cancel
Save