summaryrefslogtreecommitdiff
path: root/lua/talha/set.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/talha/set.lua')
-rw-r--r--lua/talha/set.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/talha/set.lua b/lua/talha/set.lua
index 0366b03..404b1d8 100644
--- a/lua/talha/set.lua
+++ b/lua/talha/set.lua
@@ -13,7 +13,7 @@ op.wrap = false
op.swapfile = false
op.backup = false
-op.undodir = os.getenv("HOME") .. "/.vim/undodir"
+op.undodir = GetHomeDir() .. "/.vim/undodir"
op.undofile = true
op.hlsearch = false