Skip to content

Commit eb91dd4

Browse files
authored
Merge pull request #1762 from h-east/update-filetype
Update filetype.{txt,jax}
2 parents 5b06ba2 + c76514b commit eb91dd4

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

doc/filetype.jax

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05
1+
*filetype.txt* For Vim バージョン 9.1. Last change: 2024 Oct 21
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -933,6 +933,20 @@ TYPST *ft-typst-plugin*
933933
|TRUE| の場合、Typst ファイルタイププラグインは 'conceallevel' オプションを 2
934934
に設定する。
935935

936+
*g:typst_folding*
937+
|TRUE| の場合、Typst ファイルタイププラグインは見出しを折り畳む。(デフォルト:
938+
|FALSE|)
939+
940+
有効にするには: >
941+
let g:typst_folding = 1
942+
<
943+
*g:typst_foldnested*
944+
|TRUE| の場合、Typst ファイルタイププラグインはネストされた見出しを親の下に折
945+
り畳む。(デフォルト: |TRUE|)
946+
947+
無効にするには: >
948+
let g:typst_foldnested = 0
949+
<
936950
VIM *ft-vim-plugin*
937951

938952
Vim ファイルタイププラグインは、[[ および ]] で関数の先頭および末尾に移動する

en/filetype.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 9.1. Last change: 2024 Oct 05
1+
*filetype.txt* For Vim version 9.1. Last change: 2024 Oct 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -939,6 +939,19 @@ TYPST *ft-typst-plugin*
939939
*g:typst_conceal*
940940
When |TRUE| the Typst filetype plugin will set the 'conceallevel' option to 2.
941941

942+
*g:typst_folding*
943+
When |TRUE| the Typst filetype plugin will fold headings. (default: |FALSE|)
944+
945+
To enable: >
946+
let g:typst_folding = 1
947+
<
948+
*g:typst_foldnested*
949+
When |TRUE| the Typst filetype plugin will fold nested heading under their parents
950+
(default: |TRUE|)
951+
952+
To disable: >
953+
let g:typst_foldnested = 0
954+
<
942955
VIM *ft-vim-plugin*
943956

944957
The Vim filetype plugin defines mappings to move to the start and end of

0 commit comments

Comments
 (0)