Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的片段:
foo ($1) $0
我用缩进激活它并触摸 'arg<Tab>bar' 我想要这样:
foo (x) bar
但我得到了这个:
我的 yas-indent-line 是固定的。Emacs 24.2.1 Yasnippet 0.8.0 (20130218)
这是功能片段:
# key: snip # name: foo # expand-env: ((yas/indent-line t)) # -- foo ($1) $0`()`$>