cleanup: remove unnecessary settings for nvim plugins

no need for "opt = true" when using "cmd = ..." or "ft = ..."
This commit is contained in:
David JULIEN 2021-07-22 23:10:38 +02:00
parent 2b9ba03eaf
commit c4aeb144cb

View File

@ -34,14 +34,12 @@ return require("packer").startup(function()
use {
"nvim-telescope/telescope.nvim",
requires = { "nvim-lua/popup.nvim", "nvim-lua/plenary.nvim"},
opt = true,
cmd = "Telescope"
}
-- LSP
use {
"neovim/nvim-lspconfig",
opt = true,
ft = { "c", "cpp", "lua", "python", "tex"},
config = function() require("lsp").setup() end
}
@ -52,7 +50,6 @@ return require("packer").startup(function()
-- display colors directly in editor
use {
"norcalli/nvim-colorizer.lua",
opt = true,
cmd = "ColorizerToggle"
}