cloak config and starship icon fix

This commit is contained in:
Tiago Sousa 2024-10-31 00:05:47 +00:00
parent a4dd74ff31
commit 9fbb955000
Signed by: tiago
SSH key fingerprint: SHA256:odOD9vln9U7qNe1R8o3UCbE3jkQCkr5/q5mgd5hwua0
2 changed files with 24 additions and 2 deletions

View file

@ -10,13 +10,34 @@ return {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"tpope/vim-surround", "tpope/vim-surround",
"tpope/vim-repeat", "tpope/vim-repeat",
{
"laytan/cloak.nvim", "laytan/cloak.nvim",
config = function()
require("cloak").setup({
enabled = true,
cloak_character = "*",
highlight_group = "Comment",
cloak_length = nil, -- Provide a number if you want to hide the true length of the value.
try_all_patterns = true,
cloak_telescope = true,
cloak_on_leave = false,
patterns = {
{
file_pattern = ".env*",
cloak_pattern = "=.+",
replace = nil,
},
},
})
end,
},
{ {
"ThePrimeagen/vim-be-good", "ThePrimeagen/vim-be-good",
disabled = false, disabled = false,
}, },
{ {
"jbyuki/instant.nvim", "jbyuki/instant.nvim",
disabled = true,
config = function() config = function()
vim.g.instant_username = "tsousa" vim.g.instant_username = "tsousa"
end, end,

View file

@ -120,6 +120,7 @@ format = ' [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'
[package] [package]
symbol = "󰏗 " symbol = "󰏗 "
format = ' [$symbol($version(-$name) )]($style)'
[pijul_channel] [pijul_channel]
symbol = " " symbol = " "