The syntax-highlighting tag has no wiki summary.
1
vote
1answer
45 views
Custom highlighting for gtksourceview not working
I am trying to write my own syntax highlighting for gtksourceview. If it's done it should highlight guitar chords in a text file. This is my unfinished file:
<?xml version="1.0" ...
3
votes
1answer
92 views
Syntax highlighting of latex code blocks in ikiwiki
Is it possible to get syntax highlighting for LaTeX code blocks in ikiwiki (just something like it is automatically done in tex.sx)?
To avoid misunderstandings: I don't mean math output produced for ...
1
vote
1answer
255 views
Unwanted text highlighting in Vim latex-suite
I have installed vim latex-suite. Whenever I type$$ to get inside math mode, as a side effect, it also highlights the last search term using /exp. What has caused this and how can I avoid this ...
3
votes
1answer
171 views
Is there a Vim syntax file for ANSI-colored output of CLI apps?
I have quite a lot of Perl scripts which print colored output to the terminal, using Term::ANSIColor. This is the same as when a shell script does e.g.
echo -e '\e[1;31mError:\e[0m Your fault.'
...
4
votes
1answer
109 views
vim: how do I set :match and :2match search results to different colors?
For example, I want something along the lines of:
:match search /<div/ guib=Green
:match search /<\/div>/ guibf=Blue
only that doesn't work.
5
votes
2answers
481 views
How to make vim apply /var/log/messages syntax highlighting to any file called “messages” or “messages-*”?
I love vim's colorization of /var/log/messages, but it only works for that – the absolute filename. It doesn't work for older rotations of messages (e.g. /var/log/messages-20120610) or for messages ...
1
vote
0answers
180 views
Gedit: syntax highlighting of echoing self-closing XHTML tags in JavaScript in PHP
Reproduction:
In Gedit, open a new file and manually select the syntax highlighting language (at the bottom right) to PHP.
Write some javascript in <script> tags
Within the <script> ...
11
votes
1answer
382 views
Bash syntax highlighting of subshells
Considering the large amount of questions which turn out to be related to subshells in Bash ("Why doesn't my variable increment in this piped while read loop?"), I just thought it would be very nice ...
0
votes
1answer
276 views
Vi for cygwin syntax
How can make vi in cygwin highlight syntax when I open a file by default? I know that I can type in the command "syntax on" but I would prefer to not do this all the time.
6
votes
3answers
483 views
emacs syntax highlighting fails on my SSH client
I need to connect to a remote server by SSH to edit some documents. When I work at home, I SSH to the remote server using SSH Secure Shell and open emacs, but it doesn't fully highlight documents as I ...
1
vote
1answer
163 views
Vim: VimRepress and Wordpress.com - how to insert code snippets?
I've started using Vim and VimRepress plugin to blog. My blog is on Wordpress.com - so I cannot install plugins etc.
A lot of my posts have code snippets in them - and in Markdown syntax, I indent ...
1
vote
2answers
550 views
Filetype not detected
I'm using vim to try a template system named handlebars, and I installed a vim plugin to get some syntax-highlighting for *.handlebars. I can get coloration if I do this : :set filetype=handlebars, ...
4
votes
1answer
11k views
Where to get Kate color schemes?
Does anyone know where one could find some good Kate color schemes for syntax highlighting?
The only ones that I found that work fine are zenburn and mdark.
Besides those two, I couldn't find ...