应该怎么添加自定义代码片段? #100
Unanswered
Linya-IronMan
asked this question in
Q&A
Replies: 2 comments 4 replies
-
小册中只说了设置自定义代码段的选取,跳转。没说怎么设置自定义代码段的映射。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
说一下我的,我在写完小册后从 vim-vsnip 转到了 luasnip,参考 friendly-snippets 建一个文件夹里边放自定义补全。 然后在luasnip那边加载这个文件夹 learn-neovim-lua/lua/cmp/luasnip.lua Line 7 in 19bf2c6 具体配置在我的v2分支 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如题!
Beta Was this translation helpful? Give feedback.
All reactions