Skip to content

Override the existing snip? #589

Answered by L3MON4D3
Weissle asked this question in Q&A
Discussion options

You must be logged in to vote

I use friendly-snippets and myself snippet.
How can I override some snippets in the friendly-snippets? For example, if I define my for snippet and I will see two for snippets after that.

Some interesting discussion on that in #458, I'll have to get to implementing that eventually

Another question: How can I let LuaSnip search snippet in the runtime path and load the snippet from a specific path at the same time? For now, to load them both, I use the below code.

Ouh, that's not possible :/
One solution would be allowing a special string passed to paths({paths = "RUNTIMEPATH"} maybe), but I'm not sure if that's really the best way:

The loaders accept parameters like exclude (to exclude …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Weissle
Comment options

Answer selected by Weissle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants