-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
Custom snippets overwritten by default from vim-snippets #828
Comments
This seems relevant: |
Im not really understand how it is relevant. |
Edit: UltiSnips uses the snippets under It's explained in the help file, though I could be muddying the details as I'm new to UltiSnips. ^^ |
Im new too. Could you point me exactly where documentations says that UltiSnips will overwrite snippets under Im using vim locally and on remote servers, where vim without python. So having universal config that will work with |
I don't see it mentioned in Suppose you'll have to use unique names for the rest of the SnipMate snippets you don't want overridden. (Referencing honza/vim-snippets/issues/363) |
Thank you. Didn't expect that this behaviour is defined in snippets collection bundle. |
Doxygen subroutine documentation snippet for fortran.
Guys, could you tell me how you resolved the issue to overwrite individual snippets locally?
I have also tried putting this file into |
|
I wasn't aware, thanks. But I still see the same behaviour after adding this line to the top of my personal snippet file:
|
For Ultisnips to find your file, you need to have the parent inside runtime path, and the directory name listed inside You may also define a new template to first check UltiSnips find your file. If it is found, you can try to increase the priority to 10 instead of 1... but since the repo you are referencing does not seem to override the priority, it's unlikely to help. In this case, it could be a bug, you can then define a snippet with a break point to inspect if the snippet has been loaded : https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips-advanced.txt As last resort, there is also the (...Note that I can't find a |
Oh, actually, it's not redefinition, since it's another trigger... Then it's much more likely your file is not found by ultisnips. Check your runtimepath |
It seems that Changing the priority to 10 does not change anything for me. I don't quite understand how to use The snippet in line 216 used to be |
check your runtimepath |
Hello,
I have several personal snippets located at
~.vim/after/snippets/perl.snippets
, but not all of them available for expand. Some of them is overwritten by/Users/bash/.vim/bundle/vim-snippets/UltiSnips/perl.snippets
. This looks wrong according to:For example, all shipped snippets have a priority < 0, so that user defined snippets always overwrite shipped snippets.
The text was updated successfully, but these errors were encountered: