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
I use LuaSnip, and have developed a number of LaTeX snippets. I am now considering adopting friendly-snippets for other languages, while keeping exclusively my own LaTeX snippets for .tex files.
Is there a clear set of instructions for doing that? It's unclear to me whether the instructions for disabling snippets in the home page will disable all tex snippets (including mine) or will only disable the friendly-snippet latex snippets.
The text was updated successfully, but these errors were encountered:
Hi! You should be able do this by adding the following to your NeoVim config. require("luasnip.loaders.from_vscode").load { exclude = { "tex", "plaintex" }, }
I believe the above snippet should accomplish your goal.
Generally the way to handle this will differ between snippet engines, so I will always say to refer back to their docs as this repo just supplies the snippets for the engine to load.
EDIT:
I re-read the message, the above snippet will exclude both. Let me brainstorm some ideas and I will get back to this thread asap (probably later this week).
I use LuaSnip, and have developed a number of LaTeX snippets. I am now considering adopting friendly-snippets for other languages, while keeping exclusively my own LaTeX snippets for .tex files.
Is there a clear set of instructions for doing that? It's unclear to me whether the instructions for disabling snippets in the home page will disable all tex snippets (including mine) or will only disable the friendly-snippet latex snippets.
The text was updated successfully, but these errors were encountered: