Update documentation

The UltiSnipsSnippetsDir must be a string, the brackets raise an AttributeError because lists don't have the startswith method.
This commit is contained in:
Rubén 2016-10-21 12:47:36 +02:00 committed by GitHub
parent f66f3d8b95
commit ba5deae853

View File

@ -397,7 +397,7 @@ If only one directory is specified in this variable and this directory is
specified by absolute path, UltiSnips will not look for snippets in specified by absolute path, UltiSnips will not look for snippets in
&runtimepath, which can lead to significant speedup. So, the common case is: &runtimepath, which can lead to significant speedup. So, the common case is:
let g:UltiSnipsSnippetDirectories=[$HOME.'/.vim/UltiSnips'] let g:UltiSnipsSnippetDirectories=$HOME.'/.vim/UltiSnips'
However, you will not able to use snippets that are shipped with third party However, you will not able to use snippets that are shipped with third party
plugins out of the box. You'll need to copy them into your chosen directory. plugins out of the box. You'll need to copy them into your chosen directory.