2023-11-25 14:37:36 +02:00
|
|
|
-- Confirm before quit
|
|
|
|
--- @type LazyPluginSpec
|
2023-11-22 16:18:01 +02:00
|
|
|
return {
|
2024-07-03 09:23:43 +03:00
|
|
|
cond = vim.g.neovide == not nil,
|
2023-11-22 16:18:01 +02:00
|
|
|
"yutkat/confirm-quit.nvim",
|
|
|
|
event = "CmdlineEnter",
|
2024-01-24 13:51:39 +02:00
|
|
|
opts = {
|
|
|
|
quit_message = "You are in Neovide, are you sure you want to quit?",
|
|
|
|
},
|
2023-11-22 16:18:01 +02:00
|
|
|
}
|