Mercurial > vim
view runtime/syntax/testdir/input/vim9_legacy_header_fold.vim @ 34914:4f97b92f4451
runtime(vim): Update base-syntax, add legacy header folding
Commit: https://github.com/vim/vim/commit/ce06493aeb3d198d13de289ac39d1ed0f1604429
Author: Doug Kearns <dougkearns@gmail.com>
Date: Sat Apr 13 18:24:01 2024 +0200
runtime(vim): Update base-syntax, add legacy header folding
Allow for syntax-based folding of Vim9 script legacy header regions.
This is enabled with the "H" flag of the g:vimsyn_folding config variable.
closes: #14530
Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 13 Apr 2024 18:30:05 +0200 |
parents | |
children |
line wrap: on
line source
" VIM_TEST_SETUP let g:vimsyn_folding = "H" | set fdm=syntax " comment if !has('vim9script') # 42 " comment source foo.vim finish endif " comment vim9script noclear # comment # string only recognised with leading char "useless string"