Nvim: use cond instead of enabled to disable confirm-quit
This commit is contained in:
parent
48910eb2c6
commit
29fc562c12
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…
Add table
Add a link
Reference in a new issue