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 48910eb2c6
commit 29fc562c12

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 = {