Skip to content

Commit

Permalink
Issue #131: Set viminfo file location
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Detwiler <mike@detwiler.io>
  • Loading branch information
detwiler committed Dec 11, 2022
1 parent 749ac05 commit 7dddc05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/vim/init.vim.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set runtimepath^=@vimdir@
set runtimepath+=@vimdir@/after
if exists('&viminfofile')
set viminfofile=@vimdir@/viminfo
else
set viminfo+=n@vimdir@/viminfo
endif
set directory^=@vimdir@/swap//
set backupdir^=@vimdir@/backup//
Expand Down
2 changes: 1 addition & 1 deletion data/vim/vimrc.in.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
" vim: set ft=vim :

source $VIMRUNTIME/vimrc_example.vim
source %vimconfdir%/init.vim
source %vimconfdir%/map.vim
source $VIMRUNTIME/vimrc_example.vim
@VIMRC_CMAKE_FILE@
@VIMRC_YCM_FILE@
source %vimconfdir%/vim-plug.vim
Expand Down

0 comments on commit 7dddc05

Please sign in to comment.