add custom plugins

This commit is contained in:
vladstojna 2023-04-18 01:59:50 +01:00 committed by vladstojna
parent c80a77488b
commit 693e7c3053
10 changed files with 175 additions and 1 deletions

View file

@ -0,0 +1,26 @@
return {
"laytan/cloak.nvim",
version = "*",
config = function()
require("cloak").setup {
enabled = true,
cloak_character = '*',
-- The applied highlight group (colors) on the cloaking, see `:h highlight`.
highlight_group = 'Comment',
-- Applies the length of the replacement characters for all matched
-- patterns, defaults to the length of the matched pattern.
cloak_length = nil, -- Provide a number if you want to hide the true length of the value.
patterns = {
{
-- Match any file starting with '.env'.
-- This can be a table to match multiple file patterns.
file_pattern = '.env*',
-- 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,
}