mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 13:37:36 +00:00
Set fallback backupdir paths
This commit is contained in:
parent
6efc54a754
commit
a2a1326258
@ -4,6 +4,12 @@ local utils = require("utils")
|
||||
|
||||
-- Set backup on
|
||||
o.backup = true
|
||||
o.backupdir = table.concat({
|
||||
vim.env.XDG_DATA_HOME .. "/nvim/backup//",
|
||||
vim.env.XDG_CONFIG_HOME .. "/nvim/backup//",
|
||||
"~/.config/nvim/backup//",
|
||||
".",
|
||||
}, ",")
|
||||
|
||||
-- Set leader to space
|
||||
g.mapleader = " "
|
||||
|
Loading…
Reference in New Issue
Block a user