cleanup: remove unnecessary settings for nvim plugins
no need for "opt = true" when using "cmd = ..." or "ft = ..."
This commit is contained in:
parent
2b9ba03eaf
commit
c4aeb144cb
@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user