1
vote
1answer
76 views

vim - how to treat three quotations in a row as a comment rather than a string

I use python and in python, three quotation marks in a row """ or ''' signify a block-comment, and a normal comment is just a hashtag. (#) I want comments to be colored grey and strings to be ...
1
vote
2answers
366 views

gvim how to change exisitng colorscheme's syntax colors?

I use gvim and the color scheme which I use is called 'slate'. I mostly just code in python, html and css and I like slate's syntax coloring except for a few syntax colors. Is it possible for me to ...
2
votes
1answer
261 views

how to turn off gvim error highlighting?

I use gvim as my text editor and the syntax coloring is great except it highlights "errors" and gives it a white background with red font. How do I turn off error highlighting? I find it annoying and ...
0
votes
1answer
96 views

gvim how to remove word highlighting

Okay so I am using the 'slate' color scheme in gvim and it is really great and I like it a lot except recently I have starting working with html and css files and for some reason, it starts ...
0
votes
1answer
2k views

No syntax highlighting in GVIM on Windows with _vimrc

My GVIM 7.3.46 install on Windows XP Professional SP3 32bit does not perform syntax highlighting if there exists a _vimrc file, at least not PHP and C. Even explicitly mentioning set syntax=php I get ...
0
votes
1answer
504 views

How to set PHP syntax highlighting in GVIM on Windows?

My GVIM 7.3.46 install on Windows XP Professional SP3 32bit does not seem to have PHP syntax highlighting. I have added this file to C:\Documents and Settings\myUsername\vimfiles\syntax and set this ...
6
votes
2answers
828 views

Multiple foldmethods in vim

I use the folding option of vim quite a lot, and have usually set foldmethod to syntax. Recently I discovered that it is possible to add custom folds, such that I can put whole blocks in /*{{{*/ and ...
20
votes
3answers
3k views

Convert HTML to image

Background Batch convert various syntax-highlighted source files (C, SQL, Java, PHP, batch, bash) into high-resolution images (600dpi), suitable for an eBook and printed book. Failed Solutions A ...