[Tutor] omnicomplete vim python

Andrew Robert andrew.arobert at gmail.com
Tue Aug 29 18:07:02 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Mike Hansen wrote:
>  
> 
>> -----Original Message-----
>> From: tutor-bounces at python.org 
>> [mailto:tutor-bounces at python.org] On Behalf Of Alan Gauld
>> Sent: Tuesday, August 29, 2006 1:26 AM
>> To: anil maran
>> Cc: tutor at python.org
>> Subject: Re: [Tutor] omnicomplete vim python
>>
> [...]
>> This isn't answering Anil's question but

ditto .. but you may wish to consider the following python add-on for VIM.

http://www.vim.org/scripts/script.php?script_id=790

It includes:

Enhanced version of the original (from vim6.1) python.vim for Python
programming language.

The changes since the original python.vim are:

- - changed strings highlighting;
- - enhanced special symbols highlighting inside strings;
- - enhanced numbers highlighting;
- - added optional highlighting for %-formatting inside strings;
- - added highlighting for some error conditions (wrong symbols in source
file,
  mixing spaces and tabs, wrong number values,
  wrong %-formatting inside strings);
- - added highlighting for magic comments: source code encoding
  and #! (executable) strings;
- - added highlighting for new exceptions and builtins introduced in
python 2.3, 2.4 and 2.5;
- - added highlighting for doctests;
- - added highlighting for new @decorator syntax introduced in Python 2.4a2;
- - added highlighting for trailing-space errors (triggered by new
  option: python_highlight_space_errors);
- - added highlighting for variable name errors;
- - added highlighting for hex number errors;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: GnuPT 2.7.2

iD8DBQFE9GYjDvn/4H0LjDwRAtecAJ4oWEqO5CQN0vLyFOKpRyb7PtRhSACgr9gJ
v4MQqzHAFdk8OJMHulpW9uM=
=fces
-----END PGP SIGNATURE-----


More information about the Tutor mailing list