-
|
Hi I'm migrating plugin manager from packer to Lazy.nvim, and I got some issue about Luasnip. I would like to organize the snippets by filetype subdirectories (see ejmastnak's page -- Snippet filetype subdirectories). In packer time, I just have the following line in some where the structure after The Then, whenever opening Now using Lazy.nvim, I set When opening a Furthermore, it also doesn't work even though I put Could someone help? Thanks! Additional info |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Finally, I resolved it. Summary:
(b) if VimTeX has been installed, then the filetype of Open the file of certain filetype and execute Hope this helps. |
Beta Was this translation helpful? Give feedback.


Finally, I resolved it.
Summary:
configfield inluasnip/init.luamust haverequire("luasnip").setup(opts). In this case, for example,.texsnippet,(a) if VimTeX has not been installed yet, then the filetype of
.texfile will beplaintex, so the name of the directory containing snippets.luafiles must beplaintexrath…