These are chat archives for SirVer/ultisnips

8th
Jul 2018
Ketan Kanishka
@disconsis
Jul 08 2018 08:41
I have the same problem as @cabouffard
Just installed ultisnips and vim-snippets on neovim with YCM, and custom snippets aren't expanded.
let g:UltiSnipsExpandTrigger = "<c-c>"
let g:UltiSnipsJumpForwardTrigger = "<c-s-j>"
let g:UltiSnipsJumpBackwardTrigger = "<c-s-k>"
let g:UltiSnipsSnippetsDir = '/home/ketan/.vim/custom_snippets'
let g:UltiSnipsSnippetDirectories = ['UltiSnips', "bundle/vim-snippets/UltiSnips"]
set rtp+=/home/ketan/.vim/custom_snippets
Custom snippets don't show up in the autocomplete options either
Ketan Kanishka
@disconsis
Jul 08 2018 08:46
:UltiSnipsEdit! shows the custom snippet directory
Tried the same config with vim, and that doesn't recognize the custom snippets either
Ketan Kanishka
@disconsis
Jul 08 2018 09:02
Ah okay nevermind. Didn't read the docs well enough
For anyone who comes across the same problem, I solved it with this ->
set rtp+=~/.vim     " if not already there
let g:UltiSnipsSnippetsDir = 'custom_snippets'
let g:UltiSnipsSnippetDirectories = ['UltiSnips',"custom_snippets"]