feat(nvim): add cmd and keymaps to the cloak extra

This commit is contained in:
Sergio Laín 2024-02-16 09:59:11 +01:00
parent 1d3760cf96
commit 5dbfcff5db
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -1,5 +1,10 @@
return { return {
"laytan/cloak.nvim", "laytan/cloak.nvim",
event = "BufRead .env*", event = "BufRead .env*",
cmd = { "CloakDisable", "CloakEnable", "CloakToggle" },
opts = {}, opts = {},
-- stylua: ignore
keys = {
{ "<leader>ck", function() require("cloak").toggle() end, desc = "Toggle Cloak" },
},
} }