Plugin updates
Signed-off-by: TiagoRG <tiago.rgarcia@ua.pt>
This commit is contained in:
parent
c3ca957324
commit
552276cb23
|
@ -0,0 +1,2 @@
|
||||||
|
data/
|
||||||
|
plugin/packer_compiled.lua
|
|
@ -0,0 +1,29 @@
|
||||||
|
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.
|
||||||
|
-- Whether it should try every pattern to find the best fit or stop after the first.
|
||||||
|
try_all_patterns = true,
|
||||||
|
-- Set to true to cloak Telescope preview buffers. (Required feature not in 0.1.x)
|
||||||
|
cloak_telescope = true,
|
||||||
|
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 = '=.+',
|
||||||
|
-- A function, table or string to generate the replacement.
|
||||||
|
-- The actual replacement will contain the 'cloak_character'
|
||||||
|
-- where it doesn't cover the original text.
|
||||||
|
-- If left empty the legacy behavior of keeping the first character is retained.
|
||||||
|
replace = nil,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
|
@ -7,7 +7,7 @@ return require('packer').startup(function(use)
|
||||||
|
|
||||||
-- Themes
|
-- Themes
|
||||||
use "loctvl842/monokai-pro.nvim"
|
use "loctvl842/monokai-pro.nvim"
|
||||||
use 'olimorris/onedarkpro.nvim'
|
use "TiagoRG/onedarkpro.nvim"
|
||||||
use 'Mofiqul/vscode.nvim'
|
use 'Mofiqul/vscode.nvim'
|
||||||
|
|
||||||
-- Essentials
|
-- Essentials
|
||||||
|
@ -61,6 +61,7 @@ return require('packer').startup(function(use)
|
||||||
use { "akinsho/toggleterm.nvim", tag = '*' }
|
use { "akinsho/toggleterm.nvim", tag = '*' }
|
||||||
use 'nvim-lualine/lualine.nvim'
|
use 'nvim-lualine/lualine.nvim'
|
||||||
use 'lervag/vimtex'
|
use 'lervag/vimtex'
|
||||||
|
use 'laytan/cloak.nvim'
|
||||||
|
|
||||||
-- Misc
|
-- Misc
|
||||||
use('wakatime/vim-wakatime')
|
use('wakatime/vim-wakatime')
|
||||||
|
@ -74,15 +75,15 @@ return require('packer').startup(function(use)
|
||||||
'windwp/nvim-ts-autotag',
|
'windwp/nvim-ts-autotag',
|
||||||
config = function()
|
config = function()
|
||||||
require('nvim-ts-autotag').setup()
|
require('nvim-ts-autotag').setup()
|
||||||
require 'nvim-treesitter.configs'.setup {
|
-- require 'nvim-treesitter.configs'.setup {
|
||||||
autotag = {
|
-- autotag = {
|
||||||
enable = true,
|
-- enable = true,
|
||||||
enable_rename = true,
|
-- enable_rename = true,
|
||||||
enable_close = true,
|
-- enable_close = true,
|
||||||
enable_close_on_slash = true,
|
-- enable_close_on_slash = true,
|
||||||
filetypes = { "html", "xml", "javascript", "typescript", "svelte", "vue", "javascriptreact", "typescriptreact"},
|
-- filetypes = { "html", "xml", "javascript", "typescript", "svelte", "vue", "javascriptreact", "typescriptreact"},
|
||||||
}
|
-- }
|
||||||
}
|
-- }
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
use 'mg979/vim-visual-multi'
|
use 'mg979/vim-visual-multi'
|
||||||
|
|
|
@ -23,10 +23,10 @@ snippet mainn
|
||||||
## Preprocessor
|
## Preprocessor
|
||||||
# #include <...>
|
# #include <...>
|
||||||
snippet inc
|
snippet inc
|
||||||
#include <${1:stdio}.h>
|
#include <${1:stdio}.h>${0}
|
||||||
# #include "..."
|
# #include "..."
|
||||||
snippet Inc
|
snippet Inc
|
||||||
#include "${1:`vim_snippets#Filename("$1.h")`}"
|
#include "${1:`vim_snippets#Filename("$1.h")`}"${0}
|
||||||
# ifndef...define...endif
|
# ifndef...define...endif
|
||||||
snippet ndef
|
snippet ndef
|
||||||
#ifndef $1
|
#ifndef $1
|
||||||
|
|
Loading…
Reference in New Issue