remove duplicate var | tidy
This commit is contained in:
parent
0349de6d10
commit
50aa25f307
@ -126,8 +126,7 @@ return packer.startup(function()
|
||||
|
||||
use {
|
||||
"rafamadriz/friendly-snippets",
|
||||
module = 'cmp_nvim_lsp',
|
||||
disable = not plugin_settings.status.cmp,
|
||||
module = "cmp_nvim_lsp",
|
||||
disable = not (plugin_settings.status.cmp and plugin_settings.status.snippets),
|
||||
event = "InsertEnter",
|
||||
}
|
||||
@ -137,7 +136,7 @@ return packer.startup(function()
|
||||
use {
|
||||
"hrsh7th/nvim-cmp",
|
||||
disable = not plugin_settings.status.cmp,
|
||||
event = plugin_settings.status.snippets and 'InsertEnter',
|
||||
event = not plugin_settings.status.snippets and "InsertEnter",
|
||||
after = plugin_settings.status.snippets and "friendly-snippets",
|
||||
config = override_req("nvim_cmp", "plugins.configs.cmp", "setup"),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user