diff options
author | dkearns <dougkearns@gmail.com> | 2023-08-29 05:32:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 21:32:59 +0200 |
commit | 0382f05dbd659d8e39ee4e71c1e5062ac5c0a8fd (patch) | |
tree | 52aff35e851eab18daca3d8b27d86d8ca1e3c5a2 /runtime/indent/ocaml.vim | |
parent | f937ab32a1ac3a560f217ca4ce8305ab2d5b0b74 (diff) |
runtime: Set b:undo_indent where missing (#12944)
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/indent/ocaml.vim')
-rw-r--r-- | runtime/indent/ocaml.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/indent/ocaml.vim b/runtime/indent/ocaml.vim index 19c81f49c4..c9beb8be0b 100644 --- a/runtime/indent/ocaml.vim +++ b/runtime/indent/ocaml.vim @@ -4,7 +4,8 @@ " Mike Leary <leary@nwlink.com> " Markus Mottl <markus.mottl@gmail.com> " URL: https://github.com/ocaml/vim-ocaml -" Last Change: 2017 Jun 13 +" Last Change: 2023 Aug 28 - Add undo_indent (Vim Project) +" 2017 Jun 13 " 2005 Jun 25 - Fixed multiple bugs due to 'else\nreturn ind' working " 2005 May 09 - Added an option to not indent OCaml-indents specially (MM) " 2013 June - commented textwidth (Marc Weber) @@ -24,6 +25,8 @@ setlocal indentkeys+=0=and,0=class,0=constraint,0=done,0=else,0=end,0=exception, setlocal nolisp setlocal nosmartindent +let b:undo_indent = "setl et< inde< indk< lisp< si<" + " At least Marc Weber and Markus Mottl do not like this: " setlocal textwidth=80 |