What is the correct way to change where UltiSnips searches for snippets? I tried the lines below with no success:
let g:UltiSnipsSnippetsDir = "/newfolder/snippets/" let g:UltiSnipsSnippetDirectories=["UltiSnipsNewDir"]
I don't know what setting
g:UltiSnipsSnippetsDir actually does either UltiSnip's documentation is misleading or this is a bug. However, adding your directory to
rtp by itself does what you want.
set rtp+=/newfolder/snippets let g:UltiSnipsSnippetDirectories=["UltiSnipsNewDir"]