neogen
neogen copied to clipboard
Luasnip breaks indentation annotation in python
When specifying snippet_engine = "luasnip"
, the annotation is not indented. I have not tested this in other languages but is currently broken in python.
With snippet_engine = "luasnip"
With snippet_engine = nil
Can confirm the same for JavaScript.
I'm encountering the same issue as Sirut in Python.
Hello everyone, i had to get a loong time of because of moving out and starting a new work. I will look into the issue very soon, and i will write a message if I need more user input ❤️
Concerning your issue, it seems that luasnip did some breaking change. WIll look closely
I also hit this issue. This is my config
n.setup {
snippet_engine = 'luasnip',
languages = {
python = {
template = {
annotation_convention = 'numpydoc', -- for a full list of annotation_conventions, see supported-languages below,
},
},
},
}
Hi! found got the same issue with files using LuaSnip.
Took the liberty of finding which LuaSnip commit introduced the issue: c4f7e797376c8e3ab6f848bd6bc5d33019fea5e1
Hope this helps!
Opened #110 to fix this!
Hello, the fix was provided and is now on main, thanks @Elkiders99 ! You can all update the app, or put a "2.8.1" tag to your plugin manager.