This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Detect improper leading whitespace in C files for Vim
Type: behavior Stage: needs patch
Components: None Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, pitrou
Priority: low Keywords: easy

Created on 2009-11-08 21:46 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg95047 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-11-08 21:46
With the proper detection for C files using either tabs or spaces now in 
there should also be proper highlighting when the wrong leading whitespace 
is used, e.g. if the file uses tabs then any lines with "^ +" should be 
flagged as wrong.
msg95048 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-11-08 22:03
As a non-Vim user, I don't really care, but lines beginning with spaces
are valid if you want to indent by something smaller than a tab (this is
common in comments).
msg95053 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-11-09 01:39
Ah nuts, you're right. I guess it will only work for starting with tabs 
when spaces are being used for the indentation.
History
Date User Action Args
2022-04-11 14:56:54adminsetgithub: 51537
2010-04-25 22:42:47brett.cannonsetstatus: open -> closed
resolution: wont fix
2009-11-09 01:39:58brett.cannonsetmessages: + msg95053
2009-11-08 22:03:49pitrousetnosy: + pitrou
messages: + msg95048
2009-11-08 21:46:53brett.cannoncreate