开发者

Is it possible to highlight interpolated perl variables in emacs?

开发者 https://www.devze.com 2023-02-17 15:15 出处:网络
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 i

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 possi开发者_运维知识库ble under this mode? Currently I'm using emacs 23.1 and jrockway's cperl-mode 5.23

Thanks


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消