runtime(typst): add folding to typst ftplugin
closes: #15897 Signed-off-by: Gregory Anders <greg@gpanders.com> Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
a7d456191d
commit
421ed14b8a
@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 9.1. Last change: 2024 Oct 05
|
||||
*filetype.txt* For Vim version 9.1. Last change: 2024 Oct 21
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -939,6 +939,19 @@ TYPST *ft-typst-plugin*
|
||||
*g:typst_conceal*
|
||||
When |TRUE| the Typst filetype plugin will set the 'conceallevel' option to 2.
|
||||
|
||||
*g:typst_folding*
|
||||
When |TRUE| the Typst filetype plugin will fold headings. (default: |FALSE|)
|
||||
|
||||
To enable: >
|
||||
let g:typst_folding = 1
|
||||
<
|
||||
*g:typst_foldnested*
|
||||
When |TRUE| the Typst filetype plugin will fold nested heading under their parents
|
||||
(default: |TRUE|)
|
||||
|
||||
To disable: >
|
||||
let g:typst_foldnested = 0
|
||||
<
|
||||
VIM *ft-vim-plugin*
|
||||
|
||||
The Vim filetype plugin defines mappings to move to the start and end of
|
||||
|
||||
@ -7747,6 +7747,8 @@ g:typescript_host_keyword syntax.txt /*g:typescript_host_keyword*
|
||||
g:typst_cmd quickfix.txt /*g:typst_cmd*
|
||||
g:typst_conceal filetype.txt /*g:typst_conceal*
|
||||
g:typst_embedded_languages syntax.txt /*g:typst_embedded_languages*
|
||||
g:typst_folding filetype.txt /*g:typst_folding*
|
||||
g:typst_foldnested filetype.txt /*g:typst_foldnested*
|
||||
g:var eval.txt /*g:var*
|
||||
g:vim_indent indent.txt /*g:vim_indent*
|
||||
g:vim_indent_cont indent.txt /*g:vim_indent_cont*
|
||||
|
||||
Reference in New Issue
Block a user