在vim中,编写lisp/clojure代码,如何正确缩进let中的绑定?
在 vim 中,我的 let
语句的绑定没有正确缩进。我明白了:
(let [language :clojure
editor :vim]
"indentation problems")
我想让 editor
与 language
保持一致,如下所示:
(let [language :clojure
editor :vim]
"indentation problems")
我应该做什么?
In vim, my bindings of the let
statement are not properly indent. I get this:
(let [language :clojure
editor :vim]
"indentation problems")
I would like to have editor
aligned with language
, like this:
(let [language :clojure
editor :vim]
"indentation problems")
What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于我是 @edd-steel 评论中提到的插件的作者,我可以确认它可以满足您的需要。
Since I'm the author of the plugin mentioned in the comment by @edd-steel I can confirm that it does what you need.