Skip to content

Commit

Permalink
fix(cloak-nvim): Fix event (#885)
Browse files Browse the repository at this point in the history
fix(editing-support): make sure cloak is loaded if nvim loads a file directly
  • Loading branch information
luxus authored Apr 15, 2024
1 parent c009f66 commit 6e4d2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/astrocommunity/editing-support/cloak-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
return {
"laytan/cloak.nvim",
opts = {},
event = "User AstroFile",
event = { "BufReadPre", "BufNewFile" },
cmd = { "CloakDisable", "CloakEnable", "CloakToggle" },
}

0 comments on commit 6e4d2e2

Please sign in to comment.