UltiSnips 2.2 does not works

Asked by CanisMajor

The plugin is started successfully. All public commands functions are accessible. But the triggering of the snippets does not work, just has no any effect. I can successfully execute the 'UltiSnipsEdit' command, but for example the 'UltiSnips_ListSnippets' functions has again no effect.

How I can debug the plugin or check what is going wrong, because there is not clue what to look for?

Question information

Language:
English Edit question
Status:
Answered
For:
UltiSnips Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
SirVer (sirver) said :
#1

Check the mappings: imap <tab> for example (if you did not change anything).

It sounds to me that the script in ftdetect/ is not properly sourced. Are you using vundle or any other plugin manager?

Revision history for this message
CanisMajor (canismajorwuff) said :
#2

yes I have such imap.
My scripts:

  6: D:\vim\Plugins\UltiSnips\ftdetect\snippets.vim
  7: D:\vim\Plugins\UltiSnips\ftdetect\UltiSnips.vim
 78: D:\vim\Plugins\UltiSnips\plugin\snipMate_compatibility.vim
 79: D:\vim\Plugins\UltiSnips\plugin\UltiSnips.vim
 96: D:\vim\Plugins\UltiSnips\after\plugin\UltiSnips_after.vim

Revision history for this message
SirVer (sirver) said :
#3

:(.

1) What is the output of imap <tab>?
2) Are you using vundle or any other plugin manager?

Revision history for this message
CanisMajor (canismajorwuff) said :
#4

i <C-Tab> * <C-R>=UltiSnips_ListSnippets()<CR>
i ø * <C-R>=UltiSnips_JumpBackwards()<CR>
i ú * <C-R>=UltiSnips_ExpandSnippetOrJump()<CR>

I use Ycm that is why I don't use tab I use <A-z>.

I use custom plugin manager.

BTW <C-Tab> also does not work. As well as :call UltiSnips_ListSnippets(). I don't think it is a problem of mappings at all.

I downloaded the last version everything the same.

My setup is on https://bitbucket.org/WscriChy/vim-configuration/src. It is pretty cumbersome, but mb it could help.

Revision history for this message
CanisMajor (canismajorwuff) said :
#5

I sent the master brunch. But it is old. I use develop.

Revision history for this message
SirVer (sirver) said :
#6

Well, I still think that ftdetect/UltiSnips is not detected. Have you tried the lorem<tab> snippet? Also, what happens when you use UltiSnipsAddFiletype python

does class<tab> do anything then?

Also, ycm comes with support for ultisnips out of the box, so if you start typing lorem, ycm should suggest a completion for this snippet right away.

Revision history for this message
CanisMajor (canismajorwuff) said :
#7

Is it possible because of new vim runtime (7.4.83)?

Revision history for this message
SirVer (sirver) said :
#8

very unlikely - I use a very recent version of Vim head and do not have any problems. You will need to try a minimal version of a .vimrc and only ultisnips and see if that works.

Can you help with this problem?

Provide an answer of your own, or ask CanisMajor for more information if necessary.

To post a message you must log in.