Skip to content

Commit

Permalink
Update .config/nvim/lua/core/options.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyuga-Tsukui committed Jan 23, 2025
1 parent 2f1fadd commit c0ca9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot_config/nvim/lua/core/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if not vim.g.vscode then
opt.swapfile = false
opt.backup = false

local undodir = vim.fn.stdpath("config") .. "/undo"
local undodir = vim.fn.expand("$HOME/.local/share/nvim/undo")
if vim.fn.isdirectory(undodir) == 0 then
vim.fn.mkdir(undodir, "p")
end
Expand Down

0 comments on commit c0ca9f7

Please sign in to comment.