diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-04 22:37:36 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-04 22:37:36 +0100 |
commit | 6029c1e505692d6c0b0eb9a52fb214a094ff9aba (patch) | |
tree | 836415f325d197b4e4bad107be15ab6fdc77f32e /.config/nvim/lua | |
parent | df6ede9750fb6bda76c14e256aa82b17be0bfb47 (diff) |
Vim/nvim undo history in .cache
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/setup.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua index 92677fb..0a02795 100644 --- a/.config/nvim/lua/setup.lua +++ b/.config/nvim/lua/setup.lua @@ -1,7 +1,7 @@ local set = vim.opt vim.cmd('syntax enable') -vim.cmd('set undodir=$HOME/.vim/undo') +vim.cmd('set undodir=$XDG_CACHE_HOME/nvim/undo') vim.cmd('set undofile') vim.cmd('colorscheme doom-one') |