Use actual data path for NERDTree bookmarks

This commit is contained in:
Emmanuel BENOîT 2015-03-13 12:10:23 +01:00
parent 8f3f5d376f
commit 13aa38add2

View file

@ -6,7 +6,7 @@ nnoremap <Leader>e :NERDTreeToggle<CR>
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