Thanks to Xavier Noria for his bug list for the Perl bundle. I have fixed some of them in a new version (see the wiki, or my page http://math.sfsu.edu/hsu/textmate for the archive and details.
Here are the fixes:
adjusted $foo{bar} so the first brace isn't highlighted q qq qw qx quoting recognized POD recognized (from =head1 to =cut) __END__ __DATA__, __FOO__ all recognized added Perl to One-liner command
Known problems: many autoquotes not highlighted right: here-docs not quoted, hashkeys in => notation.
I invite anyone else to take a crack to getting the autoquotes right, in the cases that Xavier noted. (I am travelling for the next three weeks!)
The problem with doing here-docs right is that the start and end delimiters change with each case, so we'd have to use backreferencing in the 'end' parameter, and I don't think that's currently possible.
- Eric
ps. I wonder how hard it would be ( maybe for 2.0! :) ) to have TM simply use vim syntax files, or some other well-worked format...
On Dec 10, 2004, at 9:45 PM, Eric Hsu wrote:
Thanks to Xavier Noria for his bug list for the Perl bundle. I have fixed some of them in a new version (see the wiki, or my page http://math.sfsu.edu/hsu/textmate for the archive and details.
Here are the fixes:
adjusted $foo{bar} so the first brace isn't highlighted q qq qw qx quoting recognized POD recognized (from =head1 to =cut) __END__ __DATA__, __FOO__ all recognized added Perl to One-liner command
Known problems: many autoquotes not highlighted right: here-docs not quoted, hashkeys in => notation.
Now that was great. Thank you very much!
-- fxn
On 10-12-2004 21:45, Eric Hsu wrote:
ps. I wonder how hard it would be ( maybe for 2.0! :) ) to have TM simply use vim syntax files, or some other well-worked format...
I was wondering about that too. Vim seems to have a *huge* amount of languages covered and in a very good way as well. Using them or having a way of importing them would suddenly make TextMate even better compared to other visual editors on OS X I think.
Jeroen.