From a160436cea5d2d60c956dd44b8f128ac73315f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Mon, 24 Oct 2016 23:03:37 +0200 Subject: [PATCH] Updated fold documentation * More concise order * Fixed some minor syntax stuff --- doc/vimtex.txt | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 4f22ed4..aa29cf8 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -441,39 +441,45 @@ Options~ 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* Control whether or not to fold environments. 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* List of document parts that should be folded. Default value: > let g:vimtex_fold_parts = [ - \ "appendix", - \ "frontmatter", - \ "mainmatter", - \ "backmatter", + \ 'appendix', + \ 'frontmatter', + \ 'mainmatter', + \ '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* List of section constructs that should be folded. Default value: > let g:vimtex_fold_sections = [ - \ "part", - \ "chapter", - \ "section", - \ "subsection", - \ "subsubsection", + \ 'part', + \ 'chapter', + \ 'section', + \ 'subsection', + \ 'subsubsection', \ ] < *g:vimtex_fold_cmd_pattern1* @@ -558,12 +564,6 @@ Options~ 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* Use this option to disable/enable the insert mode mappings. @@ -1756,12 +1756,12 @@ Associated settings: |g:vimtex_fold_enabled| |g:vimtex_fold_manual| |g:vimtex_fold_comments| + |g:vimtex_fold_levelmarker| |g:vimtex_fold_preamble| + |g:vimtex_fold_envs| + |g:vimtex_fold_markers| |g:vimtex_fold_parts| |g:vimtex_fold_sections| - |g:vimtex_fold_envs| - |g:vimtex_fold_usepackage| - |g:vimtex_fold_newcommands| ============================================================================== INDENTATION *vimtex-indent*