aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorkj-sh6042024-06-30 19:43:00 -0400
committerkj-sh6042024-06-30 19:43:00 -0400
commit66185d596e3def83daafc470cc0f500d2ac09c74 (patch)
tree1edd9ecd3b16fe48880863948463f1caf6d3b96a /.config
parent8429ebae25e5bf77a3c6315655b46d4e64e3be38 (diff)
feat: `undofile = true`
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/opts.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index 4cfc22e..3f7dc11 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -7,8 +7,8 @@ local opts = {
expandtab = true,
hlsearch = true,
ignorecase = true,
- listchars = { tab = ">-", trail = "~", extends = ">", precedes = "<", space = "." },
linebreak = true,
+ listchars = { tab = ">-", trail = "~", extends = ">", precedes = "<", space = "." },
mouse = "a",
number = true,
relativenumber = true,
@@ -23,6 +23,7 @@ local opts = {
ttimeout = true,
ttimeoutlen = 1,
ttyfast = true,
+ undofile = true,
}
-- use a line cursor within insert mode and a block cursor everywhere else.