diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-28 01:55:06 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-28 21:29:57 -0400 |
commit | 65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f (patch) | |
tree | 4595ff953f16ea5ce5846ece82fe25ce53223095 /runtime/syntax/spec.vim | |
parent | 0185625c04ee736dac36789d0cb590ecde8926e8 (diff) | |
download | rneovim-65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f.tar.gz rneovim-65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f.tar.bz2 rneovim-65821cc1b94e3beb2de19e1bb8def3fe6e82bc1f.zip |
vim-patch:388a5d4f20b4
Update runtime files
https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892
Omit vim9.
Diffstat (limited to 'runtime/syntax/spec.vim')
-rw-r--r-- | runtime/syntax/spec.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/syntax/spec.vim b/runtime/syntax/spec.vim index 4df549e677..d7d5877943 100644 --- a/runtime/syntax/spec.vim +++ b/runtime/syntax/spec.vim @@ -3,7 +3,7 @@ " Language: SPEC: Build/install scripts for Linux RPM packages " Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com " Former Maintainer: Donovan Rebbechi elflord@panix.com (until March 2014) -" Last Change: 2020 Feb 07 +" Last Change: 2020 May 25 " quit when a syntax file was already loaded if exists("b:current_syntax") @@ -128,6 +128,8 @@ syn case match "sh-like comment stile, only valid in script part syn match shComment contained '#.*$' +syn region dnlComment matchgroup=specComment start=+%dnl+ end=+$+ + syn region shQuote1 contained matchgroup=shQuoteDelim start=+'+ skip=+\\'+ end=+'+ contains=specMacroIdentifier syn region shQuote2 contained matchgroup=shQuoteDelim start=+"+ skip=+\\"+ end=+"+ contains=specVariables,specMacroIdentifier @@ -173,6 +175,7 @@ endif "sh colors hi def link shComment Comment +hi def link dnlComment Comment hi def link shIf Statement hi def link shOperator Special hi def link shQuote1 String |