filenames = ['*.scm']
to
filenames = ['*.scm', '*.rkt']
in line 39 of
pygments-main/pygments/lexers.functional.py
in the "pygments" project on BitBucket.
Unfortunately, it uses mercurial, and I don't really want to learn yet another source control system unless I have to.
Does someone here have the mercurial experience to make this edit?
John
Done. I've filed a pull request. See the change here:
https://bitbucket.org/tonyg/pygments-main/overview
Regards,
Tony
_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
> On 2011-06-01 6:56 PM, John Clements wrote:
>> Unfortunately, it uses mercurial, and I don't really want to learn yet another source control system unless I have to.
>
> Done. I've filed a pull request. See the change here:
> https://bitbucket.org/tonyg/pygments-main/overview
Nice! With luck, we didn't just break pygments :).
I think we'll have to wait for someone to re-generate the lexer mapping to see this take effect.
Thanks again,
John
How about
filenames = ['*.scm', '*.ss', '*.rkt*']
?
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
Whoops! I should have thought of that. I've just added another patch to
my repo; hope they see it if/when they pick up the pull request.
Tony
aliases = ['scheme', 'scm']
to
aliases = ['scheme', 'scm', 'ss', 'racket', 'rkt']
?
(Or maybe this would be getting to the point where there should be a
distinct new RacketLexer class, complete with a `builtins' keyword
list from e.g. Quack, and so on.)
rktl would probably fit in there too.
Vincent
(This is just in case someone takes it on more seriously: IIRC,
another issue with pygments was either ignoring square brackets, or
highlighting them as errors.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
> An hour ago, Vincent St-Amour wrote:
>> At Thu, 2 Jun 2011 06:30:00 -0400,
>> Greg Hendershott wrote:
>>> aliases = ['scheme', 'scm', 'ss', 'racket', 'rkt']
>>
>> rktl would probably fit in there too.
>
> (This is just in case someone takes it on more seriously: IIRC,
> another issue with pygments was either ignoring square brackets, or
> highlighting them as errors.)
Gosh, sounds complicated. I don't think any of us could handle that!
John (goad, goad) Clements