Skip to content

Commit

Permalink
修复vim语法高亮关于闭包的折叠问题
Browse files Browse the repository at this point in the history
  • Loading branch information
A4-Tacks committed May 14, 2024
1 parent c77ce7c commit d0bd736
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion syntax/vim/mdtlbl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ syn match mdtlblIdentLabel /:\v-=%(_)@![0-9_]+/
" Fold {{{1
setlocal foldmethod=syntax
syn region mdtlblBlock start=/{/ end=/}/ transparent fold
syn region mdtlblDExp start=/(\[\@=/ end=/)/ transparent
syn region mdtlblDExp start=/(\[\@!/ end=/)/ transparent fold
syn region mdtlblArgs matchgroup=mdtlblArgsBracket start=/(\@<!\[/ end=/\]/ transparent fold
syn region mdtlblArgs start=/(\ze\[/ end=/\]/ transparent fold
syn region mdtlblArgs start=/(\@=\[/ end=/\]/ transparent fold

" Indent (缩进控制) {{{1
function! <SID>lineFilter(line)
Expand Down

0 comments on commit d0bd736

Please sign in to comment.