SOURCES: spec.vim - be strict with case
glen
glen at pld-linux.org
Sat Nov 8 14:02:23 CET 2008
Author: glen Date: Sat Nov 8 13:02:23 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- be strict with case
---- Files affected:
SOURCES:
spec.vim (1.91 -> 1.92)
---- Diffs:
================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.91 SOURCES/spec.vim:1.92
--- SOURCES/spec.vim:1.91 Sat Oct 25 21:37:16 2008
+++ SOURCES/spec.vim Sat Nov 8 14:02:17 2008
@@ -14,6 +14,9 @@
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 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 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
@@ -203,10 +201,6 @@
" ------------------------------------------------------------------------------
" 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 '#.*$'
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/spec.vim?r1=1.91&r2=1.92&f=u
More information about the pld-cvs-commit
mailing list