Cabal.vim 0.1
Since the last post, quite a lot of things have been added. Of course, most of
them are so minor (fixing typos? Oh my!) that I didn’t bother posting about
them. But there have been enough now that I might as well bullet point them up,
for people who don’t feel like doing darcs changes.
- Certain fields are marked as “freeform” and have special rules for indenting
- If you have a line of the form
field: something,(note comma) then the next line will indent flush withsomething. - The star in
0.0.*is highlighted correctly (I don’t know when I broke this, but it’s fixed now anyway). - Indenting of
ifandelsebehaves (though, gasp of gasps, you’ll probably have to press the<BS>key when theelsebranch ends since there’s no cue in the file that it happens, other than the indentation itself). - Fields are only highlighted in a place that it looks like they should be (at
least, to my naïve regex), so if you have, say, a URL with the word
categoryin, it doesn’t happen there.
So yes. The repo is still in the same place1, but this time I’ve taken the plunge, and — gasp! — given it a version number! (Only 0.1, of course, but it’s still progress.)
Which necessitates a packaged-up version, which you can find here.
-
That is,
darcs get -t 0.1 http://patch-tag.com/publicrepos/cabal-vim. ↩
