Nvim: only enable confirm quit plugin in neovide

This commit is contained in:
Marko Korhonen 2024-01-23 09:21:25 +02:00
parent 66c7fe059e
commit 08aa9907c7
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

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