Skip to content

Commit

Permalink
fix(nvim-toggler): add lazy load on keys (#464)
Browse files Browse the repository at this point in the history
* Update nvim-toggler keys tip

plugin nvim-toggler keys tip toggle cursorword

* Make linter and formatter happy

---------

Co-authored-by: Micah Halter <[email protected]>
  • Loading branch information
reaink and mehalter authored Jul 21, 2023
1 parent 95a580d commit c343448
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lua/astrocommunity/utility/nvim-toggler/init.lua
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
return { "nguyenvukhang/nvim-toggler", event = { "User AstroFile", "InsertEnter" }, opts = {} }
return {
"nguyenvukhang/nvim-toggler",
event = { "User AstroFile", "InsertEnter" },
keys = {
{
"<leader>i",
desc = "Toggle CursorWord",
},
},
opts = {},
}

0 comments on commit c343448

Please sign in to comment.