nvim/pack/acp/start/vim-asciidoctor/indent/asciidoctor.vim

16 lines
276 B
VimL
Raw Normal View History

2023-01-13 15:25:19 +00:00
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
let s:undo_opts = "setl inde<"
if exists('b:undo_indent')
let b:undo_indent .= "|" . s:undo_opts
else
let b:undo_indent = s:undo_opts
endif
" prevent incorrect indentation with ==
setlocal indentexpr=-1