From 7ac090f38eb356c6463ed828d051f9933847d60f Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 1 Jul 2021 14:26:17 -0500 Subject: [PATCH] Set prosession dir --- common/neovim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/neovim/init.vim b/common/neovim/init.vim index c86cd59..1a25a1c 100644 --- a/common/neovim/init.vim +++ b/common/neovim/init.vim @@ -5,7 +5,7 @@ let $vimdir = $XDG_CONFIG_HOME.'/nvim' if empty(glob($vimdir.'/autoload/plug.vim')) silent !curl -fLo $vimdir/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - autocmd VimEnter * PlugInstall --sync | source $vimdir.'init.vim' + autocmd VimEnter * PlugInstall --sync | source $vimdir.'/init.vim' endif " let g:coc_global_extensions = ['coc-elixir', 'coc-diagnostic'] @@ -14,6 +14,7 @@ let g:indent_guide_auto_colors = 1 let g:indent_guides_enable_on_vim_startup = 1 let g:jsonnet_fmt_on_save = 0 let g:skipview_files = ['COMMIT_EDITMSG'] +let g:prosession_dir = $vimdir.'/sessions' " let g:fzf_preview_window = ['down:40%:hidden', 'ctrl-/'] call plug#begin($vimdir.'/plugged')