Skip to content

Commit be396b9

Browse files
feat(indent): Add undo_indent variable
1 parent 24748ad commit be396b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

indent/org.lua

+6
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ vim.bo.indentexpr = 'v:lua.require("orgmode.org.indent").indentexpr()'
88
vim.bo.lisp = false
99
vim.bo.smartindent = false
1010
vim.bo.autoindent = true
11+
vim.b.undo_indent = table.concat({
12+
'setlocal indentexpr<',
13+
'lisp<',
14+
'smartindent<',
15+
'autoindent<',
16+
}, ' ')

0 commit comments

Comments
 (0)