You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi fam, thank you guys so much for the amazing work!
As the title suggests, I am trying to configure luasnip such that I can use html snippets in tsx files. The behavior i want is I can start typing in a tsx block the markup tags w/o the angle brackets, and then have cmp_luasnip offer the option where I can press enter on it.
Previously in my lua config, I believe I accomplished this with the following code:
But ufnorutnately this doesn't work. Any guidance would be super appreciated! Here's the whole repo for reference: https://github.com/TLSingh1/dotfiles
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi fam, thank you guys so much for the amazing work!
As the title suggests, I am trying to configure luasnip such that I can use html snippets in tsx files. The behavior i want is I can start typing in a tsx block the markup tags w/o the angle brackets, and then have cmp_luasnip offer the option where I can press enter on it.
Previously in my lua config, I believe I accomplished this with the following code:
And I tried to add it to nixvim.extraConfigLua like so:
But ufnorutnately this doesn't work. Any guidance would be super appreciated! Here's the whole repo for reference: https://github.com/TLSingh1/dotfiles
would be sooo grateful for any guidance 🙏
Beta Was this translation helpful? Give feedback.
All reactions