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've been having a problem with ultisnips and third-party snippets that I'm authoring.
The problem is that ultisnips appears to break each time I author a new snippet and I forget the method I use to fix it.
It is written (I believe) in the docs that Ultisnips will load the new snips without needing to restart vim.
In my specific case I'm authoring snippets from the lilypond language for typesetting music.
The issue I'm facing is that ultisnips doesn't recognize that I've used the command:
:UltiSnipsAddFiletypes ly.lilypond
and so in order to have the cache refreshed
I must type:
:set ft=lilypond
the problem is that I consistly forgotten
between authoring snippets with weeks in between.
I know that I'm supposed to be pointed so the question is how can I bring this up to the community? Apart from wanting the code to be better in retrival of the snippets
I'm also just dumbfounded in the event that my ft=lilypond before i execute the :UltiSnipsAddFiletypes and this doesn't automatically update the cache.
What is it that is happening in the code?
O
The text was updated successfully, but these errors were encountered:
It is written (I believe) in the docs that Ultisnips will load the new snips without needing to restart vim.
Yes and no. UltiSnips used to watch every snippet file for changes and hashed every file before a new snippet is expanded. It no longer does that, because that was too slow for some. However, when you edit a snippet in the same instance that you want to expand it it should work - the cache is cleared when a .snippet file is written within Vim.
I've been having a problem with ultisnips and third-party snippets that I'm authoring.
The problem is that ultisnips appears to break each time I author a new snippet and I forget the method I use to fix it.
It is written (I believe) in the docs that Ultisnips will load the new snips without needing to restart vim.
In my specific case I'm authoring snippets from the lilypond language for typesetting music.
The issue I'm facing is that ultisnips doesn't recognize that I've used the command:
and so in order to have the cache refreshed
I must type:
the problem is that I consistly forgotten
between authoring snippets with weeks in between.
I know that I'm supposed to be pointed so the question is how can I bring this up to the community? Apart from wanting the code to be better in retrival of the snippets
I'm also just dumbfounded in the event that my
ft=lilypond
before i execute the:UltiSnipsAddFiletypes
and this doesn't automatically update the cache.What is it that is happening in the code?
O
The text was updated successfully, but these errors were encountered: