summaryrefslogtreecommitdiff
path: root/editors/vim/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/patches/patch-af')
-rw-r--r--editors/vim/patches/patch-af15
1 files changed, 15 insertions, 0 deletions
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