Mercurial > vim
comparison runtime/syntax/tex.vim @ 7707:41768bcebc9b
commit https://github.com/vim/vim/commit/13d5aeef56e3140a8eb8f40c7062aa1c5700f76e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 21 23:36:05 2016 +0100
Update runtime files
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 21 Jan 2016 23:45:07 +0100 |
parents | 873eae260c97 |
children | f16bfe02cef1 |
comparison
equal
deleted
inserted
replaced
7706:dd457970efc8 | 7707:41768bcebc9b |
---|---|
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: Oct 20, 2015 | 4 " Last Change: Jan 20, 2016 |
5 " Version: 90 | 5 " Version: 91 |
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, |
127 " but _ is the only one that causes problems. | 127 " but _ is the only one that causes problems. |
128 " One may override this iskeyword setting by providing | 128 " One may override this iskeyword setting by providing |
129 " g:tex_isk | 129 " g:tex_isk |
130 if exists("g:tex_isk") | 130 if exists("g:tex_isk") |
131 exe "setlocal isk=".g:tex_isk | 131 exe "setlocal isk=".g:tex_isk |
132 elseif !has("patch-7.4.1141") | |
133 setl isk=48-57,a-z,A-Z,192-255 | |
132 else | 134 else |
133 setlocal isk=48-57,a-z,A-Z,192-255 | 135 syn iskeyword 48-57,a-z,A-Z,192-255 |
134 endif | 136 endif |
135 if b:tex_stylish | 137 if b:tex_stylish |
136 setlocal isk+=@-@ | 138 setlocal isk+=@-@ |
137 endif | 139 endif |
138 if exists("g:tex_no_error") && g:tex_no_error | 140 if exists("g:tex_no_error") && g:tex_no_error |