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