Replies: 2 comments 1 reply
-
I think there was some mention of |
Beta Was this translation helpful? Give feedback.
-
Hi,
See here. And I changed the last line to It's not elegant, but it works. Should I raise an issue on the Anyway, thanks again for taking the time to look into this (and for developing this great plugin). |
Beta Was this translation helpful? Give feedback.
-
Hi,
Sorry in advance if I'm being dumb. (I read the doc, but to no avail.) My configuration is based on kickstart.nvim. I adapted the LuaSnip bit, in order to
However, I can't achieve (2); perhaps the issue comes from the way I did (1).
Here is one of my attempts. Note how I added the
init
entry (in order to add my own snippets), and I tried to enable autosnippets through entry opts.I do have access to my snippets, but the "auto-"snippets do not work. I can inspect manually the enable_autosnippets variables, it's set to false. (I can set it to true manually, and then things work.)
I tried various other things (for instance, using
config
instead ofinit
above). I also tried to add the following instruction (as recommended in the doc) at the very end of myinit.lua
file, but still no luck.require("luasnip").config.setup({auto_snippets=true})
Many thanks in advance if anyone knows how to do this.
Beta Was this translation helpful? Give feedback.
All reactions