]> git.pld-linux.org Git - packages/vim.git/commitdiff
- be strict with case
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 8 Nov 2008 13:02:17 +0000 (13:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    spec.vim -> 1.92

spec.vim

index 216f88445bd3f3c3428b8075fc96921763bf8944..74daad99aa40a44e7d241de9afca47fc854518db 100644 (file)
--- a/spec.vim
+++ b/spec.vim
@@ -14,6 +14,9 @@ elseif exists("b:current_syntax")
   finish
 endif
 
+" we're quite strict on spec syntax, so match case for everything
+syn case match
+
 syn sync minlines=1000
 
 syn match specSpecialChar contained '[][!$()\\|>^;:]'
@@ -33,8 +36,6 @@ syn match specSpecialVariables contained '\$[0-9]\|\${[0-9]}'
 syn match specCommandOpts      contained '\s\(-\w\+\|--\w[a-zA-Z0-9_-]\+\)'ms=s+1
 syn match specComment '^\s*#.*$'
 
-syn case match
-
 " matches with no highlight
 syn match specNoNumberHilite 'X11\|X11R6\|[a-zA-Z]*\.\d\|[a-zA-Z][-/]\d'
 syn match specManpageFile '[a-zA-Z]\.1'
@@ -160,9 +161,6 @@ syn match specDescriptionCharset         contained '-l\s[a-z_A-Z]\+\(\.UTF-8\)\?
 syn match specPreAmbleCharset         contained '([a-z_A-Z]\+\(\.UTF-8\)\?):'
 
 
-syn case ignore
-
-
 " %% PreAmble Section %%
 " Copyright and Serial were deprecated by License and Epoch
 " PreReq and BuildPreReq deprecated by Requires ans BuildRequires
@@ -204,10 +202,6 @@ syn match specLogError contained "%%"
 " ------------------------------------------------------------------------------
 " here's the shell syntax for all the Script Sections
 
-
-syn case match
-
-
 " sh-like comment style, only valid in script part
 syn match shComment contained '#.*$'
 
This page took 0.040036 seconds and 4 git commands to generate.