Move undodir directory
This commit is contained in:
parent
bce72f1e56
commit
809cddb533
|
@ -77,6 +77,7 @@ in
|
||||||
XDG_DATA_HOME = "${config.xdg.dataHome}";
|
XDG_DATA_HOME = "${config.xdg.dataHome}";
|
||||||
XDG_DOCUMENTS_DIR = "$HOME/Documents";
|
XDG_DOCUMENTS_DIR = "$HOME/Documents";
|
||||||
XDG_REPOS_DIR = "$HOME/Code";
|
XDG_REPOS_DIR = "$HOME/Code";
|
||||||
|
XDG_STATE_HOME = config.xdg.stateHome;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
|
|
|
@ -35,7 +35,7 @@ local settings = {
|
||||||
tabstop = 2,
|
tabstop = 2,
|
||||||
termguicolors = true,
|
termguicolors = true,
|
||||||
textwidth = 0,
|
textwidth = 0,
|
||||||
undodir = os.getenv "HOME" .. "/.vim/undodir",
|
undodir = os.getenv "XDG_STATE_HOME" .. "/nvim/undodir",
|
||||||
undofile = true,
|
undofile = true,
|
||||||
updatetime = 1000,
|
updatetime = 1000,
|
||||||
wrap = false,
|
wrap = false,
|
||||||
|
|
Loading…
Reference in a new issue