Emacs模式/使用空格的运算符的函数 [英] Emacs mode/function that wraps operators with spaces
本文介绍了Emacs模式/使用空格的运算符的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
,
,。
,用空格包裹 =
,还有其他一些我不记得的东西。 我认为这是很多语言特定的问题,但是我通常在空格之后加逗号,并用空格包裹 =
。关于这种模式的任何想法?
解决方案
你可能在想 smart-operator.el 。
I remember that there was a mode for Emacs, or was it an option, can't recall, that prettified the code by placing space after operators like ,
, .
, wrapped =
with spaces, and some other cools stuff that I can't remember.
I reckon that this is pretty much language-specific issue, but I usually put space after commas, and wrap =
with spaces. Any ideas about this mode?
解决方案
You're probably thinking of smart-operator.el.
这篇关于Emacs模式/使用空格的运算符的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文