Skip to content

Commit

Permalink
refactor(twilight): update lazy loading and add default keymap (#286)
Browse files Browse the repository at this point in the history
refactor(twilight): update lazy loading and add default keymap
  • Loading branch information
khaneliman authored Jun 19, 2023
1 parent 94c7494 commit 07001f3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lua/astrocommunity/color/twilight-nvim/twilight-nvim.lua
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
return { "folke/twilight.nvim", cmd = "Twilight" }
return {
"folke/twilight.nvim",
keys = { { "<leader>uT", "<cmd>Twilight<cr>", desc = "Toggle Twilight" } },
cmd = {
"Twilight",
"TwilightEnable",
"TwilightDisable",
},
}

0 comments on commit 07001f3

Please sign in to comment.