📦 Initial Commit

This commit is contained in:
UnknownRori 2023-06-12 09:28:01 +07:00
parent 5125fd927a
commit e77acb091e
No known key found for this signature in database
GPG key ID: 25FB6BA9E0169742
23 changed files with 516 additions and 24 deletions

View file

@ -0,0 +1,16 @@
return {
'anuvyklack/pretty-fold.nvim',
config = function()
require('pretty-fold').ft_setup('lua', {
matchup_patterns = {
{ '^%s*do$', 'end' }, -- do ... end blocks
{ '^%s*if', 'end' }, -- if ... end
{ '^%s*for', 'end' }, -- for
{ 'function%s*%(', 'end' }, -- 'function( or 'function (''
{ '{', '}' },
{ '%(', ')' }, -- % to escape lua pattern char
{ '%[', ']' }, -- % to escape lua pattern char
},
})
end,
}