diff options
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cloak.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cloak.lua | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cloak.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cloak.lua deleted file mode 100644 index 09b14d8..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cloak.lua +++ /dev/null @@ -1,42 +0,0 @@ -return { - "laytan/cloak.nvim", - lazy = false, - init = function() - local wk = require("which-key") - wk.add({ - mode = { "n", "v" }, - { "<leader>c", group = "Cloak" }, - }) - end, - config = function() - require("cloak").setup({ - enabled = true, - cloak_character = "*", - -- The applied highlight group (colors) on the cloaking, see `:h highlight`. - highlight_group = "Comment", - patterns = { - { - -- Match any file starting with ".env". - -- This can be a table to match multiple file patterns. - file_pattern = { - ".env*", - "wrangler.toml", - ".dev.vars", - "address*", - "*api*", - }, - -- Match an equals sign and any character after it. - -- This can also be a table of patterns to cloak, - -- example: cloak_pattern = { ":.+", "-.+" } for yaml files. - cloak_pattern = { "=.+", ":.+", "-.+" }, - }, - }, - }) - end, - keys = { - { "<leader>ce", "<cmd>CloakEnable<cr>", desc = "Enable cloak" }, - { "<leader>cd", "<cmd>CloakDisable<cr>", desc = "Disable cloak" }, - { "<leader>cl", "<cmd>CloakPreviewLine<cr>", desc = "Preview line cloak" }, - { "<leader>zC", "<cmd>CloakToggle<cr>", desc = "Toggle cloak" }, - }, -} |
