diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-19 18:34:13 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-19 18:34:13 +0900 |
| commit | 307fceea38b7352a79b0bdb87025a34b76973867 (patch) | |
| tree | 382eb3e6a11973bc2c6ba33eee14d43ec2a9566b /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cloak.lua | |
| parent | b66f68b8c014a3041c936ee9de1b57db5bcb50fb (diff) | |
updates
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" }, - }, -} |
