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