Emacs模式/函数,用空格包装运算符 [英] Emacs mode/function that wraps operators with spaces

查看:147
本文介绍了Emacs模式/函数,用空格包装运算符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得有一个Emacs的模式,或者是一个选项,不能回忆,通过在,用空格包装 = ,还有一些其他冷淡的东西,我不记得了。

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?

推荐答案

您可能在想 smart-operator.el

这篇关于Emacs模式/函数,用空格包装运算符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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