Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to highlight interpolated perl variables in emacs?

Recently I've started using emacs and after overcoming a number of hurdles in making cperl-mode operate in a way that is agreeable I've become stumped by this problem. Currently I have all scalars in regular use being highlighted except for where they are interpolated. Is such syntax highlighting possible under this mode? Currently I'm using emacs 23.1 and jrockway's cperl-mode 5.23

Thanks

like image 456
Errorific Avatar asked Nov 06 '22 01:11

Errorific


1 Answers

It won't highlight interpolated variables in strings, but it will do it in regular expressions. I'll bet that could be adapted by somebody who knows elisp.

like image 105
Schwern Avatar answered Nov 09 '22 11:11

Schwern