Package: vim-runtime
Version: 1:6.4-007+1
Severity: wishlist
File: /usr/share/vim/vim64/syntax/python.vim
Tags: patch


Here is a patch that adds support for the python keyword 'as' in the 
vim python syntax file ... I suppose you can include it safely.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim                          1:6.4-007+1 Vi IMproved - enhanced vi editor
ii  vim-python                   1:6.4-007+1 Vi IMproved - enhanced vi editor -

-- no debconf information
--- /usr/share/vim/vim64/syntax/python.vim	2006-02-14 23:13:06.000000000 +0100
+++ /usr/share/vim/vim64/syntax/python.vim.new	2006-02-14 23:12:49.000000000 +0100
@@ -47,7 +47,7 @@
 syn keyword pythonRepeat	for while
 syn keyword pythonConditional	if elif else
 syn keyword pythonOperator	and in is not or
-syn keyword pythonPreCondit	import from
+syn keyword pythonPreCondit	import from as
 syn match   pythonComment	"#.*$" contains=pythonTodo
 syn keyword pythonTodo		TODO FIXME XXX contained
 

Reply via email to