Pygments

generic syntax highlighter


Ticket #131 (assigned enhancement)

Opened 2 years ago

Last modified 4 months ago

Make vim colorschemes available

Reported by: florian-pocootrac@… Owned by: blackbird
Priority: minor Milestone: Someday
Component: other Keywords:
Cc:

Description

As discussed on IRC, it would be a great thing if one could use vim-colorschemes for syntax highlighting.

As for colors, I have been playing around with TOHtml from vim 7 and created a table with translations from the names vim uses for his colors to html colors. It is attached as a csv file

Change History

Changed 2 years ago by gbrandl

thanks, I'll certainly work on this sometime.

Changed 2 years ago by gbrandl

  • status changed from new to assigned

Changed 2 years ago by blackbird

  • owner changed from gbrandl to blackbird
  • status changed from assigned to new

I'll do that :D And thanks for the colors.

Changed 2 years ago by blackbird

  • status changed from new to assigned

Changed 2 years ago by gbrandl

There's a vim2pygments script in scripts/ since r2342. It's not documented though.

Changed 9 months ago by thatch

That's [6f9b5118a465] for the script since the hg move. As well, there is source:pygments/styles/vim.py [c2181416e0d7] which has a quick hack of colors like vim uses.

Changed 6 months ago by thatch

  • milestone set to 0.12

Changed 4 months ago by gbrandl

  • milestone changed from 0.12 to Someday

This isn't essential for 0.12.

Note: See TracTickets for help on using tickets.