default snippets not loading when running ultisnips the default way
Hi,
first of all thanks for your last screencast, it was quite nice. I noticed a typo,
I think it should be Episode and not "Epsiode" :)
I have a quick question, I may I shown you this before, I try to load some plugins only by demand,
so I have to function to load them.
For ultisnips I have
function! LoadUltisnips()
if !(has('unix') && executable(
"cygwin vim does not have python
runtime bundle/
exec "set runtimepath+=" . g:p0 . "/bundle/
endif
nnoremap <f10> :call UltiSnips_
endfunction
nnoremap <f10> :call LoadUltisnips(
inoremap <f10> <esc>:call LoadUltisnips(
this used to work fine, from recently when I do this it does not load the snippets for the filetype I am currently in.
So if I am in a latex file after I have to do the following:
:UltiSnipsAddFi
to be able to use the latex snippets (otherwise I just have the default snippets for all filetypes).
Can you think of a quick way of solving this?
If not don't worry, I read in other questions that you seem to be busy with other things, so I will just keep doing the
:UltiSnipsAddFi
thing.
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- SirVer
- Solved:
- Last query:
- Last reply: