Mercurial > vim
diff runtime/doc/syntax.txt @ 24911:fd37be6dc258
Update runtime files
Commit: https://github.com/vim/vim/commit/2346a6378483c9871016f9fc821ec5cbea638f13
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 13 19:02:49 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jun 2021 19:15:03 +0200 |
parents | e69e7133c9cf |
children | 43593a5d873f |
line wrap: on
line diff
--- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -3430,8 +3430,8 @@ syntax highlighting script handles this Tex: Match Check Control~ Sometimes one actually wants mismatched parentheses, square braces, - and or curly braces; for example, \text{(1,10] is a range from but - not including 1 to and including 10}. This wish, of course, conflicts + and or curly braces; for example, \text{(1,10]} is a range from but + not including 1 to and including 10. This wish, of course, conflicts with the desire to provide delimiter mismatch detection. To accommodate these conflicting goals, syntax/tex.vim provides > g:tex_matchcheck = '[({[]' @@ -4084,7 +4084,7 @@ match in the same position overrules an argument makes the "myVim" match use the same highlighting as "myString". But it does not contain anything. If the "contains=NONE" argument would be left out, then "myVim" would use the contains argument from myString and allow -"myWord" to be contained, which will be highlighted as a Constant. This +"myWord" to be contained, which will be highlighted as a Comment. This happens because a contained match doesn't match inside itself in the same position, thus the "myVim" match doesn't overrule the "myWord" match here. @@ -4970,8 +4970,8 @@ ctermul={color-nr} *highlight-ctermul *tmux* When using tmux you may want to use this in the tmux config: > # tmux colors - set -g default-terminal "xterm-256color" - set -ag terminal-overrides ",xterm-256color:Tc" + set -s default-terminal "tmux-256color" + set -as terminal-overrides ",*-256color:Tc" < More info at: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-a-256-colour-terminal https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour