Mercurial > vim
comparison runtime/syntax/spup.vim @ 25773:11b656e74444
Update runtime files
Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 9 21:55:11 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Sep 2021 22:00:10 +0200 |
parents | 46763b01cd9a |
children | d6dde6229b36 |
comparison
equal
deleted
inserted
replaced
25772:55753c17b73d | 25773:11b656e74444 |
---|---|
23 endif | 23 endif |
24 | 24 |
25 let s:cpo_save = &cpo | 25 let s:cpo_save = &cpo |
26 set cpo&vim | 26 set cpo&vim |
27 | 27 |
28 " don't hightlight several keywords like subsections | 28 " don't highlight several keywords like subsections |
29 "let strict_subsections = 1 | 29 "let strict_subsections = 1 |
30 | 30 |
31 " highlight types usually found in DECLARE section | 31 " highlight types usually found in DECLARE section |
32 if !exists("hightlight_types") | 32 if !exists("hightlight_types") |
33 let highlight_types = 1 | 33 let highlight_types = 1 |
34 endif | 34 endif |
35 | 35 |
36 " one line comment syntax (# comments) | 36 " one line comment syntax (# comments) |
37 " 1. allow appended code after comment, do not complain | 37 " 1. allow appended code after comment, do not complain |
38 " 2. show code beginnig with the second # as an error | 38 " 2. show code beginning with the second # as an error |
39 " 3. show whole lines with more than one # as an error | 39 " 3. show whole lines with more than one # as an error |
40 if !exists("oneline_comments") | 40 if !exists("oneline_comments") |
41 let oneline_comments = 2 | 41 let oneline_comments = 2 |
42 endif | 42 endif |
43 | 43 |
175 | 175 |
176 syn cluster spupOrdinary contains=spupNumber,spupIdentifier,spupSymbol | 176 syn cluster spupOrdinary contains=spupNumber,spupIdentifier,spupSymbol |
177 syn cluster spupOrdinary add=spupError,spupString,spupComment | 177 syn cluster spupOrdinary add=spupError,spupString,spupComment |
178 syn cluster spupTextproc contains=spupTextprocGeneric,spupTextprocError | 178 syn cluster spupTextproc contains=spupTextprocGeneric,spupTextprocError |
179 | 179 |
180 " define syncronizing; especially OPERATION sections can become very large | 180 " define synchronizing; especially OPERATION sections can become very large |
181 syn sync clear | 181 syn sync clear |
182 syn sync minlines=100 | 182 syn sync minlines=100 |
183 syn sync maxlines=500 | 183 syn sync maxlines=500 |
184 | 184 |
185 syn sync match spupSyncOperation grouphere spupOperation "^OPERATION" | 185 syn sync match spupSyncOperation grouphere spupOperation "^OPERATION" |