summaryrefslogtreecommitdiff
path: root/runtime/indent/rnoweb.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/rnoweb.vim')
-rw-r--r--runtime/indent/rnoweb.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/indent/rnoweb.vim b/runtime/indent/rnoweb.vim
index 73966868b..33bc103d1 100644
--- a/runtime/indent/rnoweb.vim
+++ b/runtime/indent/rnoweb.vim
@@ -2,7 +2,7 @@
" Language: Rnoweb
" Author: Jakson Alves de Aquino <jalvesaq@gmail.com>
" Homepage: https://github.com/jalvesaq/R-Vim-runtime
-" Last Change: Fri Apr 15, 2016 10:58PM
+" Last Change: Feb 25, 2023
" Only load this indent file when no other was loaded.
@@ -29,6 +29,8 @@ let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O,e,},=\bibitem,=\item
setlocal indentexpr=GetRnowebIndent()
+let b:undo_indent = "setl inde< indk<"
+
if exists("*GetRnowebIndent")
finish
endif