2024-06-09 04:16:43 -05:00
|
|
|
require("cloak").setup({
|
2024-07-20 11:47:52 -05:00
|
|
|
enabled = false,
|
2024-06-09 04:16:43 -05:00
|
|
|
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",
|
|
|
|
},
|
|
|
|
-- 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 = "=.+"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|