Nvim: use cond instead of enabled to disable confirm-quit
This commit is contained in:
parent
77cc2660d7
commit
758ffcfd08
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
-- Confirm before quit
|
-- Confirm before quit
|
||||||
--- @type LazyPluginSpec
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
enabled = vim.g.neovide == not nil,
|
cond = vim.g.neovide == not nil,
|
||||||
"yutkat/confirm-quit.nvim",
|
"yutkat/confirm-quit.nvim",
|
||||||
event = "CmdlineEnter",
|
event = "CmdlineEnter",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
Loading…
Reference in a new issue