Commit Graph

16 Commits

Author SHA1 Message Date
Brett Cannon 813c43ab25 Properly detect whether a C file is using tabs or spaces for Vim.
Closes issue #5611. Thanks Kirk McDonald and Johannes Hoff.
2009-11-08 21:35:28 +00:00
Brett Cannon 8fff20f950 Update Vim syntax highlighting to specify what revision was used to generate
the file.
2008-01-29 04:18:04 +00:00
Brett Cannon a6ae8974c1 Make trailing whitespace explicit (including when it is an all-whitespace
line).
2007-12-24 23:43:30 +00:00
Brett Cannon c8939d23fe Make python.vim output more deterministic. 2006-09-20 19:28:35 +00:00
Brett Cannon 76b24c0926 Have pre-existing C files use 8 spaces indents (to match old PEP 7 style), but
have all new files use 4 spaces (to match current PEP 7 style).
2006-08-31 22:42:37 +00:00
Brett Cannon 6edd150172 Fix comment about indentation level in C files. 2006-08-31 21:47:52 +00:00
Georg Brandl aa1919d2b0 Remove remaining references to OverflowWarning. 2006-07-05 08:21:00 +00:00
Brett Cannon 04f031d202 Change C spacing to 4 spaces by default to match PEP 7 for new C files. 2006-05-26 19:04:47 +00:00
George Yoshida 259d7d6b4a Update for 'ImportWarning' 2006-05-16 17:42:16 +00:00
Guido van Rossum da5b701aee Get rid of __context__, per the latest changes to PEP 343 and python-dev
discussion.
There are two places of documentation that still mention __context__:
Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without
spending a whole lot of time thinking about it; and whatsnew, which Andrew
usually likes to change himself.
2006-05-02 19:47:52 +00:00
Brett Cannon 20e192b6a6 Update for 'with' statement. 2006-03-01 20:53:08 +00:00
Brett Cannon acde7347a5 Add Misc/NEWS entry for Misc/Vim/vim_syntax.py . Also use conditional
expression for the hell of it.
2006-03-01 04:28:00 +00:00
Brett Cannon 23b0dc5053 Remove line meant to test trailing whitespace since that kind of whitespace is
automatically removed.

Also annotate what each line is meant to test.
2006-02-26 19:27:29 +00:00
Tim Peters d6e7e73ff8 Whitespace normalization. 2006-02-26 04:21:50 +00:00
Brett Cannon df95cb6ae3 Move the vimrc file to the newly created Vim/ directory. 2006-02-25 14:53:26 +00:00
Brett Cannon a4fe18227d Add a script that auto-generates a Vim syntax highlighting file for Python.
Just symlink or copy python.vim to ~/.vim/syntax/ .  Also included is a sample
Python file with basic expressions to make sure they are highlighted.

Also add a Vim directory in Misc to hold all Vim configuration files.
2006-02-25 14:52:53 +00:00