summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-07-18 23:57:00 +0000
committertron <tron@pkgsrc.org>1999-07-18 23:57:00 +0000
commitf740cc8f3ad5a8f9611d8163569e382910a5ebd2 (patch)
tree6371861f34cd1361a2272db53fedf854d4243396 /editors/vim
parent0b4675efc9fe88eb229f96f1ba509166af4cbd69 (diff)
downloadpkgsrc-f740cc8f3ad5a8f9611d8163569e382910a5ebd2.tar.gz
Enhanced syntax highlighting configuration files supplied by
Jaromir Dolecek in PR pkg/8002.
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/files/patch-sum4
-rw-r--r--editors/vim/patches/patch-ae67
-rw-r--r--editors/vim/patches/patch-af15
3 files changed, 85 insertions, 1 deletions
diff --git a/editors/vim/files/patch-sum b/editors/vim/files/patch-sum
index 6cdd3179b18..2aa204eda41 100644
--- a/editors/vim/files/patch-sum
+++ b/editors/vim/files/patch-sum
@@ -1,6 +1,8 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 13:50:45 agc Exp $
+$NetBSD: patch-sum,v 1.2 1999/07/18 23:57:00 tron Exp $
MD5 (patch-aa) = 1a207c657386eb2518be0d30e57cfaa8
MD5 (patch-ab) = 1ef5b89dda70d7bcabe974ae805f575b
MD5 (patch-ac) = e53e72a98abbb723d60c03b8bf1fc55d
MD5 (patch-ad) = e17aa4e41de7f01d2accd2873b497b88
+MD5 (patch-ae) = b3987bad10827f9a5fc4280b940af785
+MD5 (patch-af) = b9325c71379643ca40f436e7e790bf2e
diff --git a/editors/vim/patches/patch-ae b/editors/vim/patches/patch-ae
new file mode 100644
index 00000000000..eb8eee34de3
--- /dev/null
+++ b/editors/vim/patches/patch-ae
@@ -0,0 +1,67 @@
+$NetBSD: patch-ae,v 1.1 1999/07/18 23:57:01 tron Exp $
+
+--- syntax/sql.vim.orig Fri Jul 9 11:31:44 1999
++++ syntax/sql.vim Tue Jul 13 10:36:01 1999
+@@ -1,7 +1,7 @@
+ " Vim syntax file
+-" Language: SQL (Oracle 7)
++" Language: SQL, PL/SQL (Oracle 8i)
+ " Maintainer: Paul Moore <gustav@morpheus.demon.co.uk>
+-" Last change: 1997 April 20
++" Last change: 1999 March 18
+
+ " Remove any old syntax stuff hanging around
+ syn clear
+@@ -10,34 +10,34 @@ syn case ignore
+
+ " The SQL reserved words, defined as keywords.
+
+-syn keyword sqlSpecial null
++syn keyword sqlSpecial false null true
+
+-syn keyword sqlKeyword access add as asc by check cluster column
+-syn keyword sqlKeyword compress connect current decimal default
+-syn keyword sqlKeyword desc else exclusive file for from group
+-syn keyword sqlKeyword having identified immediate increment index
+-syn keyword sqlKeyword initial into is level maxextents mode modify
++syn keyword sqlKeyword access add as asc begin by check cluster column
++syn keyword sqlKeyword compress connect current cursor decimal default desc
++syn keyword sqlKeyword else elsif end exception exclusive file for from
++syn keyword sqlKeyword function group having identified if immediate increment
++syn keyword sqlKeyword index initial into is level loop maxextents mode modify
+ syn keyword sqlKeyword nocompress nowait of offline on online start
+ syn keyword sqlKeyword successful synonym table then to trigger uid
+ syn keyword sqlKeyword unique user validate values view whenever
+-syn keyword sqlKeyword where with option order pctfree privileges
+-syn keyword sqlKeyword public resource row rowlabel rownum rows
+-syn keyword sqlKeyword session share size smallint
++syn keyword sqlKeyword where with option order pctfree privileges procedure
++syn keyword sqlKeyword public resource return row rowlabel rownum rows
++syn keyword sqlKeyword session share size smallint type using
+
+ syn keyword sqlOperator not and or
+ syn keyword sqlOperator in any some all between exists
+ syn keyword sqlOperator like escape
+-syn keyword sqlOperator union intersect minus
+-syn keyword sqlOperator prior distinct
+-syn keyword sqlOperator sysdate
+-
+-syn keyword sqlStatement alter analyze audit comment commit create
+-syn keyword sqlStatement delete drop explain grant insert lock noaudit
+-syn keyword sqlStatement rename revoke rollback savepoint select set
++syn keyword sqlOperator union intersect minus
++syn keyword sqlOperator prior distinct
++syn keyword sqlOperator sysdate out
++
++syn keyword sqlStatement alter analyze audit comment commit create
++syn keyword sqlStatement delete drop execute explain grant insert lock noaudit
++syn keyword sqlStatement rename revoke rollback savepoint select set
+ syn keyword sqlStatement truncate update
+
+-syn keyword sqlType char character date long raw mlslabel number
+-syn keyword sqlType rowid varchar varchar2 float integer
++syn keyword sqlType boolean char character date float integer long
++syn keyword sqlType mlslabel number raw rowid varchar varchar2 varray
+
+ " Strings and characters:
+ syn region sqlString start=+"+ skip=+\\\\\|\\"+ end=+"+
diff --git a/editors/vim/patches/patch-af b/editors/vim/patches/patch-af
new file mode 100644
index 00000000000..a2674d89da3
--- /dev/null
+++ b/editors/vim/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 1999/07/18 23:57:01 tron Exp $
+
+--- syntax/scripts.vim.orig Thu Jul 15 12:01:34 1999
++++ syntax/scripts.vim Fri Jul 9 11:31:44 1999
+@@ -63,6 +63,10 @@ if !has("syntax_items")
+ elseif getline(1) =~ '^#!.*[/\\][^/\\]*perl[^/\\]*\>'
+ so <sfile>:p:h/perl.vim
+
++ " Python
++ elseif getline(1) =~ '^#!.*[/\\][^/\\]*python[^/\\]*\>'
++ so <sfile>:p:h/python.vim
++
+ " Vim scripts (must have '" vim' as the first line to trigger this)
+ elseif getline(1) =~ '^" *[vV]im$'
+ so <sfile>:p:h/vim.vim