Nvim: use cond instead of enabled to disable confirm-quit

This commit is contained in:
Marko Korhonen 2024-07-03 09:23:43 +03:00
parent 77cc2660d7
commit 758ffcfd08
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -1,7 +1,7 @@
-- Confirm before quit
--- @type LazyPluginSpec
return {
enabled = vim.g.neovide == not nil,
cond = vim.g.neovide == not nil,
"yutkat/confirm-quit.nvim",
event = "CmdlineEnter",
opts = {