我可以用perl模式着色的cperl模式吗? [英] Can I use cperl-mode with perl-mode colorization?

查看:106
本文介绍了我可以用perl模式着色的cperl模式吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Emacs cperl模式似乎比perl模式困惑得多,但是Skittles效果使我的东西无法使用。有没有人知道或者知道一个.emacs块的例子,导致cperl模式使用perl模式的着色,理想情况下可以是一个可读的形式,我可以回去,一次返回一个元素的默认颜色直到我达到我喜欢的东西?

The Emacs cperl-mode seems to get confused less than perl-mode, but the Skittles effect makes the thing unusable for me. Does anyone have or know of an example of a .emacs block that causes cperl-mode to use the colorization from perl-mode, ideally in a form readable enough that I can go back and turn back on the default colors one element at a time until I reach something I'm comfortable with?

特别是有一些内建的可爱的淡绿色阴影,我觉得很难读,我更喜欢我的变量没有领先的 $ $$ ,并带有变量名称。大部分休息时间只是分散注意力。

In particular there is a hideously shade of light green used for some builtins that I find quite unreadable, and I prefer my variables to not have the leading $ and $$ and such tinted red along with the variable name. Most of the rest are merely distracting.

推荐答案

按Mx自定义组RET按钮,然后根据您的喜好更改着色。

Press M-x customize-group RET cperl-faces RET and change coloring to your liking.

这篇关于我可以用perl模式着色的cperl模式吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆