Mercurial > vim
diff runtime/autoload/syntaxcomplete.vim @ 17758:f2c2f9126a82
Update runtime files.
commit https://github.com/vim/vim/commit/56c860c315c517d304320e12bf7b5c1479546dae
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 17 20:09:31 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Aug 2019 20:15:03 +0200 |
parents | eb6ab7e78925 |
children | ef454a7f485d |
line wrap: on
line diff
--- a/runtime/autoload/syntaxcomplete.vim +++ b/runtime/autoload/syntaxcomplete.vim @@ -2,7 +2,7 @@ " Language: All languages, uses existing syntax highlighting rules " Maintainer: David Fishburn <dfishburn dot vim at gmail dot com> " Version: 13.0 -" Last Change: 2013 May 14 +" Last Change: 2019 Aug 08 " Usage: For detailed help, ":help ft-syntax-omni" " History @@ -597,7 +597,7 @@ function! s:SyntaxCSyntaxGroupItems( gro " Remove all non-word characters " let syn_list = substitute( syn_list, '\<match /\zs.\{-}\<\W\+\>.\{-}\ze\/ ', "", 'g' ) " let syn_list = substitute( syn_list, '\%(\<match \/[^/]\{-}\)\@<=\W\+\ze.\{-}\/ ', ' ', 'g' ) - " Do this by using the outer substitue() call to gather all + " Do this by using the outer substitute() call to gather all " text between the match /.../ tags. " The inner substitute() call operates on the text selected " and replaces all non-word characters.