aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-11-19 10:31:51 +0000
committerGitHub <noreply@github.com>2022-11-19 10:31:51 +0000
commit7c57f06b63f7c4e3b62a765b7b7814ef017a602d (patch)
treee78b4afb39f054bb32e283e1c019fdea22117b55 /runtime/doc/syntax.txt
parentaf204dd0f193c3cd3154156c9f9fd40199b840c6 (diff)
downloadrneovim-7c57f06b63f7c4e3b62a765b7b7814ef017a602d.tar.gz
rneovim-7c57f06b63f7c4e3b62a765b7b7814ef017a602d.tar.bz2
rneovim-7c57f06b63f7c4e3b62a765b7b7814ef017a602d.zip
vim-patch:partial:d13166e788fc (#21109)
Update runtime files https://github.com/vim/vim/commit/d13166e788fcaef59ec65c20b46ca4be16625669 - Skip E1309-1311 (not ported). - Skip `:echowindow` changes (not ported). - Skip termdebug winbar doc changes (not fully ported). - Port missing `g:termdebug_config.{wide,use_prompt}` changes from v8.2.5010. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 033a01ac98..f74a046ee6 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1854,6 +1854,16 @@ following two lines to the syntax coloring file for that language
Now you just need to make sure that you add all regions that contain
the preprocessor language to the cluster htmlPreproc.
+ *html-folding*
+The HTML syntax file provides syntax |folding| (see |:syn-fold|) between start
+and end tags. This can be turned on by >
+
+ :let g:html_syntax_folding = 1
+ :set foldmethod=syntax
+
+Note: Syntax folding might slow down syntax highlighting significantly,
+especially for large files.
+
HTML/OS (by Aestiva) *htmlos.vim* *ft-htmlos-syntax*