Text::VimColor version 0.08

I've just released version 0.08 of my Text::VimColor module. It should appear on CPAN shortly.

This version just fixes some bugs and improves the test suite. One of the bugs was a simple mistake by myself, but the other two were Vim being a bit weird:

  • Mario Xerri reported that tab characters in the input files were getting turned into the two characters ^I when they should be left alone. The patch he supplied fixes this by telling Vim that tab is a character that can be sent directly to the terminal:
    " Expand tabs.  Without this they come out as '^I'.
    set isprint+=9
    so when Vim is being run by my Perl module with no terminal it must somehow get confused when saving, or perhaps my Vim script for extracting the syntax colouring info gets stuck on non-printing characters. Anyway, it's fixed now. I should maybe think about doing the same for other characters, because there's no reason for my module to mess with them as they pass through.
  • The other problem was that the filetype wasn't being detected anymore based on the file extension. It used to work, I think. I've managed to fix it by having the Vim script force Vim to have a second go at guessing the filetype, using the filetype detect command. This is also probably something to do with the rather unusual environment Vim is running in.

Now of course I'll regenerate my blog and find that the new version doesn't work at all :-)

< Converting TrueType glyphs to PostScript | Finally got my camera to work with Linux >

Miniblog

(nuggets of inanity)

Tuesday Apr 24th 2007, 16:54 »
Just took the annual web design survey that AListApart do. I don't realy consider myself to be a web designer, but I have been doing a lot of HTML and CSS lately.
Monday Apr 23rd 2007, 18:23 »
Strange, there appears to be a bare-knuckle boxing match going on in the field outside my flat. Wish they wouldn't make so much noise about it.
Thursday Mar 1st 2007, 18:47 »
“In its written form, Hebrew has no vowels, making it the ideal language for texting.”
—Said in jest on some Radio 4 programme just now.

Archive: 2007 · 2006 · 2005 · 2004
Feed