Skip to content

Conversation

@ldfwbebp
Copy link

I recently started using LazyVim, which utilizes nvim-snippets instead of LuaSnip. As per #1886 and #1955, it's known that current branch doesn't support multi-line ghost_text for LuaSnip custom snippets, so I've added this feature (similar to nvim-snippets in LazyVim).
Here's how this feature works.

demo.mp4

I'm new to Neovim and Lua, so please let me know if there are any issues. Thank you! @hrsh7th

@pidgeon777
Copy link

Great! Let's hope this will be merged

@davidsierradz
Copy link

This doesn't look so good with snippets when the prefix pattern don't match the documentation body, for example markdown snippets:

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants