Updated fold documentation
* More concise order * Fixed some minor syntax stuff
This commit is contained in:
parent
b6aed1aee8
commit
a160436cea
@ -441,39 +441,45 @@ Options~
|
|||||||
|
|
||||||
Default value: '*'
|
Default value: '*'
|
||||||
|
|
||||||
|
*g:vimtex_fold_preamble*
|
||||||
|
Control whether or not to fold the preamble.
|
||||||
|
|
||||||
|
Note: This option can not be used together with |g:vimtex_fold_documentclass|.
|
||||||
|
|
||||||
|
Default value: 1
|
||||||
|
|
||||||
*g:vimtex_fold_envs*
|
*g:vimtex_fold_envs*
|
||||||
Control whether or not to fold environments.
|
Control whether or not to fold environments.
|
||||||
|
|
||||||
Default value: 1
|
Default value: 1
|
||||||
|
|
||||||
|
*g:vimtex_fold_markers*
|
||||||
|
Use this option to disable/enable vim-style markers for folding, i.e. pairs
|
||||||
|
of `{{{` and `}}}`.
|
||||||
|
|
||||||
|
Default value: 1
|
||||||
|
|
||||||
*g:vimtex_fold_parts*
|
*g:vimtex_fold_parts*
|
||||||
List of document parts that should be folded.
|
List of document parts that should be folded.
|
||||||
|
|
||||||
Default value: >
|
Default value: >
|
||||||
let g:vimtex_fold_parts = [
|
let g:vimtex_fold_parts = [
|
||||||
\ "appendix",
|
\ 'appendix',
|
||||||
\ "frontmatter",
|
\ 'frontmatter',
|
||||||
\ "mainmatter",
|
\ 'mainmatter',
|
||||||
\ "backmatter",
|
\ 'backmatter',
|
||||||
\ ]
|
\ ]
|
||||||
<
|
<
|
||||||
*g:vimtex_fold_preamble*
|
|
||||||
Control whether or not to fold the preamble.
|
|
||||||
|
|
||||||
Note: This option can not be used together with |g:vimtex_fold_documentclass|.
|
|
||||||
|
|
||||||
Default value: 1
|
|
||||||
|
|
||||||
*g:vimtex_fold_sections*
|
*g:vimtex_fold_sections*
|
||||||
List of section constructs that should be folded.
|
List of section constructs that should be folded.
|
||||||
|
|
||||||
Default value: >
|
Default value: >
|
||||||
let g:vimtex_fold_sections = [
|
let g:vimtex_fold_sections = [
|
||||||
\ "part",
|
\ 'part',
|
||||||
\ "chapter",
|
\ 'chapter',
|
||||||
\ "section",
|
\ 'section',
|
||||||
\ "subsection",
|
\ 'subsection',
|
||||||
\ "subsubsection",
|
\ 'subsubsection',
|
||||||
\ ]
|
\ ]
|
||||||
<
|
<
|
||||||
*g:vimtex_fold_cmd_pattern1*
|
*g:vimtex_fold_cmd_pattern1*
|
||||||
@ -558,12 +564,6 @@ Options~
|
|||||||
|
|
||||||
Default value: 0
|
Default value: 0
|
||||||
|
|
||||||
*g:vimtex_fold_markers*
|
|
||||||
Use this option to disable/enable vim-style markers for folding, i.e. pairs
|
|
||||||
of `{{{` and `}}}`.
|
|
||||||
|
|
||||||
Default value: 1
|
|
||||||
|
|
||||||
*g:vimtex_imaps_enabled*
|
*g:vimtex_imaps_enabled*
|
||||||
Use this option to disable/enable the insert mode mappings.
|
Use this option to disable/enable the insert mode mappings.
|
||||||
|
|
||||||
@ -1756,12 +1756,12 @@ Associated settings:
|
|||||||
|g:vimtex_fold_enabled|
|
|g:vimtex_fold_enabled|
|
||||||
|g:vimtex_fold_manual|
|
|g:vimtex_fold_manual|
|
||||||
|g:vimtex_fold_comments|
|
|g:vimtex_fold_comments|
|
||||||
|
|g:vimtex_fold_levelmarker|
|
||||||
|g:vimtex_fold_preamble|
|
|g:vimtex_fold_preamble|
|
||||||
|
|g:vimtex_fold_envs|
|
||||||
|
|g:vimtex_fold_markers|
|
||||||
|g:vimtex_fold_parts|
|
|g:vimtex_fold_parts|
|
||||||
|g:vimtex_fold_sections|
|
|g:vimtex_fold_sections|
|
||||||
|g:vimtex_fold_envs|
|
|
||||||
|g:vimtex_fold_usepackage|
|
|
||||||
|g:vimtex_fold_newcommands|
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
INDENTATION *vimtex-indent*
|
INDENTATION *vimtex-indent*
|
||||||
|
Loading…
Reference in New Issue
Block a user