fix plugins

This commit is contained in:
tavo 2025-07-05 14:38:33 -06:00
parent cc68f4fc78
commit 89134ab82d
2 changed files with 2 additions and 0 deletions

1
cvim/.gitignore vendored
View file

@ -4,3 +4,4 @@ viminfo
colors/ colors/
undo/ undo/
pack/ pack/
swap/

View file

@ -171,6 +171,7 @@ let g:customrtp = expand('~/.config/cvim')
let rtp = &runtimepath let rtp = &runtimepath
let &runtimepath = g:customrtp . ',' . rtp . ',' . g:customrtp . '/after' let &runtimepath = g:customrtp . ',' . rtp . ',' . g:customrtp . '/after'
let &packpath = &runtimepath
execute 'set directory=' . g:customrtp . '/swap//,.,~/tmp,/var/tmp,/tmp' execute 'set directory=' . g:customrtp . '/swap//,.,~/tmp,/var/tmp,/tmp'
execute 'set backupdir=' . g:customrtp . '/backup//,.,~/tmp,~/' execute 'set backupdir=' . g:customrtp . '/backup//,.,~/tmp,~/'
execute 'set spellfile=' . g:customrtp . '/spell/en.utf-8.add' execute 'set spellfile=' . g:customrtp . '/spell/en.utf-8.add'