comparison runtime/syntax/tex.vim @ 13589:1073225cb749

Update runtime files commit https://github.com/vim/vim/commit/51ad4eaa22e15cf1fe6c45d82c7e1371e00401a4 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 6 11:14:11 2018 +0200 Update runtime files
author Christian Brabandt <cb@256bit.org>
date Fri, 06 Apr 2018 11:15:07 +0200
parents a6d3e2081544
children b178e2039b2d
comparison
equal deleted inserted replaced
13588:01965f9ccc7a 13589:1073225cb749
1 " Vim syntax file 1 " Vim syntax file
2 " Language: TeX 2 " Language: TeX
3 " Maintainer: Charles E. Campbell <NdrchipO@ScampbellPfamily.AbizM> 3 " Maintainer: Charles E. Campbell <NdrchipO@ScampbellPfamily.AbizM>
4 " Last Change: Dec 11, 2017 4 " Last Change: Mar 30, 2018
5 " Version: 107 5 " Version: 109
6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX 6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
7 " 7 "
8 " Notes: {{{1 8 " Notes: {{{1
9 " 9 "
10 " 1. If you have a \begin{verbatim} that appears to overrun its boundaries, 10 " 1. If you have a \begin{verbatim} that appears to overrun its boundaries,
394 endif 394 endif
395 endif 395 endif
396 396
397 " Bad Math (mismatched): {{{1 397 " Bad Math (mismatched): {{{1
398 if !exists("g:tex_no_math") && !s:tex_no_error 398 if !exists("g:tex_no_math") && !s:tex_no_error
399 syn match texBadMath "\\end\s*{\s*\(array\|bBpvV]matrix\|split\|smallmatrix\)\s*}" 399 syn match texBadMath "\\end\s*{\s*\(array\|[bBpvV]matrix\|split\|smallmatrix\)\s*}"
400 syn match texBadMath "\\end\s*{\s*\(displaymath\|equation\|eqnarray\|math\)\*\=\s*}" 400 syn match texBadMath "\\end\s*{\s*\(displaymath\|equation\|eqnarray\|math\)\*\=\s*}"
401 syn match texBadMath "\\[\])]" 401 syn match texBadMath "\\[\])]"
402 endif 402 endif
403 403
404 " Math Zones: {{{1 404 " Math Zones: {{{1
1010 syn match texMathSymbol '\\hat{w}' contained conceal cchar=ŵ 1010 syn match texMathSymbol '\\hat{w}' contained conceal cchar=ŵ
1011 syn match texMathSymbol '\\hat{W}' contained conceal cchar=Ŵ 1011 syn match texMathSymbol '\\hat{W}' contained conceal cchar=Ŵ
1012 syn match texMathSymbol '\\hat{y}' contained conceal cchar=ŷ 1012 syn match texMathSymbol '\\hat{y}' contained conceal cchar=ŷ
1013 syn match texMathSymbol '\\hat{Y}' contained conceal cchar=Ŷ 1013 syn match texMathSymbol '\\hat{Y}' contained conceal cchar=Ŷ
1014 " syn match texMathSymbol '\\bar{a}' contained conceal cchar=a̅ 1014 " syn match texMathSymbol '\\bar{a}' contained conceal cchar=a̅
1015
1016 syn match texMathSymbol '\\dot{B}' contained conceal cchar=Ḃ
1017 syn match texMathSymbol '\\dot{b}' contained conceal cchar=ḃ
1018 syn match texMathSymbol '\\dot{D}' contained conceal cchar=Ḋ
1019 syn match texMathSymbol '\\dot{d}' contained conceal cchar=ḋ
1020 syn match texMathSymbol '\\dot{F}' contained conceal cchar=Ḟ
1021 syn match texMathSymbol '\\dot{f}' contained conceal cchar=ḟ
1022 syn match texMathSymbol '\\dot{H}' contained conceal cchar=Ḣ
1023 syn match texMathSymbol '\\dot{h}' contained conceal cchar=ḣ
1024 syn match texMathSymbol '\\dot{M}' contained conceal cchar=Ṁ
1025 syn match texMathSymbol '\\dot{m}' contained conceal cchar=ṁ
1026 syn match texMathSymbol '\\dot{N}' contained conceal cchar=Ṅ
1027 syn match texMathSymbol '\\dot{n}' contained conceal cchar=ṅ
1028 syn match texMathSymbol '\\dot{P}' contained conceal cchar=Ṗ
1029 syn match texMathSymbol '\\dot{p}' contained conceal cchar=ṗ
1030 syn match texMathSymbol '\\dot{R}' contained conceal cchar=Ṙ
1031 syn match texMathSymbol '\\dot{r}' contained conceal cchar=ṙ
1032 syn match texMathSymbol '\\dot{S}' contained conceal cchar=Ṡ
1033 syn match texMathSymbol '\\dot{s}' contained conceal cchar=ṡ
1034 syn match texMathSymbol '\\dot{T}' contained conceal cchar=Ṫ
1035 syn match texMathSymbol '\\dot{t}' contained conceal cchar=ṫ
1036 syn match texMathSymbol '\\dot{W}' contained conceal cchar=Ẇ
1037 syn match texMathSymbol '\\dot{w}' contained conceal cchar=ẇ
1038 syn match texMathSymbol '\\dot{X}' contained conceal cchar=Ẋ
1039 syn match texMathSymbol '\\dot{x}' contained conceal cchar=ẋ
1040 syn match texMathSymbol '\\dot{Y}' contained conceal cchar=Ẏ
1041 syn match texMathSymbol '\\dot{y}' contained conceal cchar=ẏ
1042 syn match texMathSymbol '\\dot{Z}' contained conceal cchar=Ż
1043 syn match texMathSymbol '\\dot{z}' contained conceal cchar=ż
1044
1045 syn match texMathSymbol '\\dot{C}' contained conceal cchar=Ċ
1046 syn match texMathSymbol '\\dot{c}' contained conceal cchar=ċ
1047 syn match texMathSymbol '\\dot{E}' contained conceal cchar=Ė
1048 syn match texMathSymbol '\\dot{e}' contained conceal cchar=ė
1049 syn match texMathSymbol '\\dot{G}' contained conceal cchar=Ġ
1050 syn match texMathSymbol '\\dot{g}' contained conceal cchar=ġ
1051 syn match texMathSymbol '\\dot{I}' contained conceal cchar=İ
1052
1053 syn match texMathSymbol '\\dot{A}' contained conceal cchar=Ȧ
1054 syn match texMathSymbol '\\dot{a}' contained conceal cchar=ȧ
1055 syn match texMathSymbol '\\dot{O}' contained conceal cchar=Ȯ
1056 syn match texMathSymbol '\\dot{o}' contained conceal cchar=ȯ
1015 endif 1057 endif
1016 1058
1017 " Greek {{{2 1059 " Greek {{{2
1018 if s:tex_conceal =~# 'g' 1060 if s:tex_conceal =~# 'g'
1019 fun! s:Greek(group,pat,cchar) 1061 fun! s:Greek(group,pat,cchar)