Skip to content

Commit

Permalink
disable some plugins by default
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck76 committed Aug 24, 2021
1 parent c66fb4f commit 3dc1db8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lua/default_config.lua
Expand Up @@ -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
Expand All @@ -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
}

Expand Down
5 changes: 3 additions & 2 deletions 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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3dc1db8

Please sign in to comment.