chore: 💡update comments
This commit is contained in:
@@ -54,22 +54,8 @@ o.fillchars = {
|
|||||||
-- ──────────────────────────────────────────────────── virtualedit ──
|
-- ──────────────────────────────────────────────────── virtualedit ──
|
||||||
o.virtualedit = 'block'
|
o.virtualedit = 'block'
|
||||||
-- ─────────────────────────────────────────────────────────── undo ──
|
-- ─────────────────────────────────────────────────────────── undo ──
|
||||||
|
|
||||||
-- ┌
|
|
||||||
-- │
|
|
||||||
-- │ o.undodir = { os.getenv("HOME") .. "/.undo/" }
|
|
||||||
-- │ set undo dir under nvim app folder
|
|
||||||
-- │ o.undodir = { vim.fn.stdpath('config') .. '/.undo/' }
|
|
||||||
-- │ undodir is in .local/state/nvim/undo (default)
|
|
||||||
-- │
|
|
||||||
-- └
|
|
||||||
|
|
||||||
-- FIX: undofiles saving but always saying 'at latest
|
|
||||||
-- change' when trying to undo
|
|
||||||
|
|
||||||
o.undolevels = 10000
|
o.undolevels = 10000
|
||||||
o.undofile = true
|
o.undofile = true
|
||||||
o.undodir = { vim.fn.stdpath('state') .. '/undo/' .. '/' }
|
|
||||||
-- ───────────────────────────────────────────── session management ──
|
-- ───────────────────────────────────────────── session management ──
|
||||||
-- ┌
|
-- ┌
|
||||||
-- │ can not include 'globals' or it breaks auto-session
|
-- │ can not include 'globals' or it breaks auto-session
|
||||||
|
|||||||
Reference in New Issue
Block a user