diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-07 19:22:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-07 19:22:33 -0700 |
| commit | dd7355358edc40734afcce695432756859377eb8 (patch) | |
| tree | ca104883444d0e6f183799860baf47fdc94369c0 /runtime/autoload/syntaxcomplete.vim | |
| parent | 6692c0958f476456b59cd9f36b35b1c5b3202145 (diff) | |
| parent | 8f2557ad197afbb46f44bb84b6214c6760084bd1 (diff) | |
| download | rneovim-dd7355358edc40734afcce695432756859377eb8.tar.gz rneovim-dd7355358edc40734afcce695432756859377eb8.tar.bz2 rneovim-dd7355358edc40734afcce695432756859377eb8.zip | |
Merge #10962 from justinmk/vim-088e8e344352
vim-patch: runtime updates
Diffstat (limited to 'runtime/autoload/syntaxcomplete.vim')
| -rw-r--r-- | runtime/autoload/syntaxcomplete.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/syntaxcomplete.vim b/runtime/autoload/syntaxcomplete.vim index 0ce3e6e154..ea72204cbb 100644 --- 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( group_name, syntax_full ) " 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. |