Ticket #1547 (closed cage: done)
Mass-update vim modelines
Reported by: | petdance | Owned by: | petdance |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 2.2.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
We need to have an updated vim modeline that sets the cindent options that match our coding standards. Specifically, the default vim options don't support the way we do switch/case labels, with the 2-space indent. Reindenting a block of code with a switch in it destroys the indents.
The cindent options are detailed here: http://vimdoc.sourceforge.net/htmldoc/indent.html#cinoptions-values
Then, since we need to update that everywhere, we need a tool to mass-update vim modelines everywhere in the project because you just KNOW we'll have to do it again anyway.
Change History
Note: See
TracTickets for help on using
tickets.