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.
我想将另一个预定义的片段扩展为当前模板文件,我该如何实现? 例如: 假设我已经有一个名为“snippet1”的片段,我希望我可以这样写片段:
# -*- mode: snippet -*- # name: snippet2 # key: snippet2 # -- `(expand 'snippet1)` blablabla......
字符串(expand 'snippet1)只是一个例子。 如何实现?