Fix UltiSnipsSnippetDirectories suggestion in docs (#960)

The variable g:UltiSnipsSnippetDirectories including its documentation was introduced in b47e686. There the documentation read

> let g:UltiSnipsSnippetDirectories=[$HOME.'/.vim/UltiSnips']

This example was later changed in #775, claiming that this variable needs to be a string. This seems to have been done in error, so this change reverts that PR back to the original documentation.

Fixes #815.
This commit is contained in:
Andrey Orst 2018-04-07 23:20:40 +03:00 committed by Holger Rapp
parent 519597a2d1
commit c5ef0d0355

View File

@ -400,7 +400,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.