aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/vim.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-02 15:10:04 +0200
committerGitHub <noreply@github.com>2019-08-02 15:10:04 +0200
commit7cf0119c6857846fd1f254feb237f6137f140856 (patch)
tree1fb4d7c43a6cd86d7758bc0dc2d2aa23240b5947 /runtime/syntax/vim.vim
parentb92a5bc3c4bdfddfc21638556ace6ef3fd90155c (diff)
parent532ee54a42a294073e8b441f3ce5a050d16963a2 (diff)
downloadrneovim-7cf0119c6857846fd1f254feb237f6137f140856.tar.gz
rneovim-7cf0119c6857846fd1f254feb237f6137f140856.tar.bz2
rneovim-7cf0119c6857846fd1f254feb237f6137f140856.zip
Merge #10666 from justinmk/vim-runtime
vim-patch: runtime updates
Diffstat (limited to 'runtime/syntax/vim.vim')
-rw-r--r--runtime/syntax/vim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 31e81c76f8..9544de4e07 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -193,7 +193,7 @@ syn keyword vimAugroupKey contained aug[roup]
" =========
syn cluster vimOperGroup contains=vimEnvvar,vimFunc,vimFuncVar,vimOper,vimOperParen,vimNumber,vimString,vimRegister,vimContinue
syn match vimOper "\%#=1\(==\|!=\|>=\|<=\|=\~\|!\~\|>\|<\|=\)[?#]\{0,2}" skipwhite nextgroup=vimString,vimSpecFile
-syn match vimOper "\(\<is\>\|\<isnot\>\)[?#]\{0,2}" skipwhite nextgroup=vimString,vimSpecFile
+syn match vimOper "\(\<is\|\<isnot\)[?#]\{0,2}\>" skipwhite nextgroup=vimString,vimSpecFile
syn match vimOper "||\|&&\|[-+.]" skipwhite nextgroup=vimString,vimSpecFile
syn region vimOperParen matchgroup=vimParenSep start="(" end=")" contains=@vimOperGroup
syn region vimOperParen matchgroup=vimSep start="{" end="}" contains=@vimOperGroup nextgroup=vimVar,vimFuncVar