diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2024-10-22 00:18:16 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2024-10-22 09:10:46 +0200 |
| commit | a25ec00f8886c9b87e9423aedd498cec9419508b (patch) | |
| tree | 4e192cdc2a727777df245e3cc0f294b9e75c1dcf /runtime/doc | |
| parent | a6d1165771781732cb8ff6105df6f0429c46cde1 (diff) | |
| download | rneovim-a25ec00f8886c9b87e9423aedd498cec9419508b.tar.gz rneovim-a25ec00f8886c9b87e9423aedd498cec9419508b.tar.bz2 rneovim-a25ec00f8886c9b87e9423aedd498cec9419508b.zip | |
vim-patch:421ed14: runtime(typst): add folding to typst ftplugin
closes: vim/vim#15897
https://github.com/vim/vim/commit/421ed14b8a0f50e0d2d9247dda49feb69352bd0d
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/filetype.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index a577b0c5fb..a0f2abbb44 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -1039,6 +1039,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 |