From c5ef0d0355b000c2c7457ba7aed18966e5b3192e Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Sat, 7 Apr 2018 23:20:40 +0300 Subject: [PATCH] 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. --- doc/UltiSnips.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/UltiSnips.txt b/doc/UltiSnips.txt index d945240..260e931 100644 --- a/doc/UltiSnips.txt +++ b/doc/UltiSnips.txt @@ -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 &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 plugins out of the box. You'll need to copy them into your chosen directory.