From 07001f35c27f04cda77af4453f8db96f73a83ee5 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 19 Jun 2023 09:28:55 -0500 Subject: [PATCH] refactor(twilight): update lazy loading and add default keymap (#286) refactor(twilight): update lazy loading and add default keymap --- .../color/twilight-nvim/twilight-nvim.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lua/astrocommunity/color/twilight-nvim/twilight-nvim.lua b/lua/astrocommunity/color/twilight-nvim/twilight-nvim.lua index d39fa618e..9ca5718f2 100644 --- a/lua/astrocommunity/color/twilight-nvim/twilight-nvim.lua +++ b/lua/astrocommunity/color/twilight-nvim/twilight-nvim.lua @@ -1 +1,9 @@ -return { "folke/twilight.nvim", cmd = "Twilight" } +return { + "folke/twilight.nvim", + keys = { { "uT", "Twilight", desc = "Toggle Twilight" } }, + cmd = { + "Twilight", + "TwilightEnable", + "TwilightDisable", + }, +}