Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ghost_text): Added custom multi-line snippets ghost_text support #2001

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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