From 13aa38add24d0c4fad7602a71f2bfdd3c3f0e3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Fri, 13 Mar 2015 12:10:23 +0100 Subject: [PATCH] Use actual data path for NERDTree bookmarks --- bundles-init/nerdtree.cfg.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles-init/nerdtree.cfg.vim b/bundles-init/nerdtree.cfg.vim index 6689d7c..94547dc 100644 --- a/bundles-init/nerdtree.cfg.vim +++ b/bundles-init/nerdtree.cfg.vim @@ -6,7 +6,7 @@ nnoremap e :NERDTreeToggle autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif " Set the bookmarks file's path -let g:NERDTreeBookmarksFile = g:vim_vardata . '/NTBookmarks' +let g:NERDTreeBookmarksFile = GetVardataPath( 'NTBookmarks' ) if filereadable( g:NERDTreeBookmarksFile ) ReadBookmarks endif