diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-28 21:40:21 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-28 21:41:10 +0200 |
commit | 0d565d62ae857fd8e8f8c7f1457579156a76968d (patch) | |
tree | 275410f0b2124f23e832bbf52a0fb1bf1caddb0a | |
parent | 9f7e1cec054a727695891d97ed40355e8dc30baf (diff) | |
download | rneovim-0d565d62ae857fd8e8f8c7f1457579156a76968d.tar.gz rneovim-0d565d62ae857fd8e8f8c7f1457579156a76968d.tar.bz2 rneovim-0d565d62ae857fd8e8f8c7f1457579156a76968d.zip |
vim-patch:220adb1e9f9e
A few more runtime updates.
https://github.com/vim/vim/commit/220adb1e9f9e0b27d28185167d2730bf2f93057d
-rw-r--r-- | runtime/doc/pattern.txt | 4 | ||||
-rw-r--r-- | runtime/syntax/bib.vim | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 1d0f42c222..c951a58734 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -354,8 +354,8 @@ For starters, read chapter 27 of the user manual |usr_27.txt|. */\%#=* *two-engines* *NFA* Vim includes two regexp engines: 1. An old, backtracking engine that supports everything. -2. A new, NFA engine that works much faster on some patterns, but does not - support everything. +2. A new, NFA engine that works much faster on some patterns, possibly slower + on some patterns. Vim will automatically select the right engine for you. However, if you run into a problem or want to specifically select one engine or the other, you can diff --git a/runtime/syntax/bib.vim b/runtime/syntax/bib.vim index f96553ec8d..f2b99e961b 100644 --- a/runtime/syntax/bib.vim +++ b/runtime/syntax/bib.vim @@ -2,7 +2,7 @@ " Language: BibTeX (bibliographic database format for (La)TeX) " Maintainer: Bernd Feige <Bernd.Feige@gmx.net> " Filenames: *.bib -" Last Change: 2016 May 31 +" Last Change: 2016 Sep 12 " Thanks to those who pointed out problems with this file or supplied fixes! @@ -71,7 +71,7 @@ syn keyword bibNSEntryKw contained mrclass mrnumber mrreviewer fjournal coden " Clusters " ======== -syn cluster bibVarContents contains=bibUnescapedSpecial,bibBrace,bibParen +syn cluster bibVarContents contains=bibUnescapedSpecial,bibBrace,bibParen,bibMath " This cluster is empty but things can be added externally: "syn cluster bibCommentContents @@ -81,6 +81,7 @@ syn match bibUnescapedSpecial contained /[^\\][%&]/hs=s+1 syn match bibKey contained /\s*[^ \t}="]\+,/hs=s,he=e-1 nextgroup=bibField syn match bibVariable contained /[^{}," \t=]/ syn region bibComment start=/./ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry +syn region bibMath contained start=/\$/ end=/\$/ skip=/\(\\\$\)/ syn region bibQuote contained start=/"/ end=/"/ skip=/\(\\"\)/ contains=@bibVarContents syn region bibBrace contained start=/{/ end=/}/ skip=/\(\\[{}]\)/ contains=@bibVarContents syn region bibParen contained start=/(/ end=/)/ skip=/\(\\[()]\)/ contains=@bibVarContents |