aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-07-14 17:26:40 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-07-14 23:55:57 +0200
commit79130c0fd393e3eef8e4c939c54ea3d3faec2149 (patch)
treee0ed0c4faff300b3025c7f4579f7378f2037f421 /runtime/indent
parent60734dc76112c4142c6048839a0b93c2d48e77f3 (diff)
downloadrneovim-79130c0fd393e3eef8e4c939c54ea3d3faec2149.tar.gz
rneovim-79130c0fd393e3eef8e4c939c54ea3d3faec2149.tar.bz2
rneovim-79130c0fd393e3eef8e4c939c54ea3d3faec2149.zip
vim-patch:9.1.0586: ocaml runtime files are outdated
Problem: ocaml runtime files are outdated Solution: sync those files with the upstream repo, detect a few more ocaml files (Yinzuo Jiang) closes: vim/vim#15260 https://github.com/vim/vim/commit/700cf8cfa1e926e2ba676203b3ad90c2c2083f1d Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
Diffstat (limited to 'runtime/indent')
-rw-r--r--runtime/indent/ocaml.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/ocaml.vim b/runtime/indent/ocaml.vim
index c9beb8be0b..d137796e3d 100644
--- a/runtime/indent/ocaml.vim
+++ b/runtime/indent/ocaml.vim
@@ -4,8 +4,7 @@
" Mike Leary <leary@nwlink.com>
" Markus Mottl <markus.mottl@gmail.com>
" URL: https://github.com/ocaml/vim-ocaml
-" Last Change: 2023 Aug 28 - Add undo_indent (Vim Project)
-" 2017 Jun 13
+" Last Change: 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)
@@ -36,6 +35,7 @@ if !exists("no_ocaml_comments")
setlocal comments=sr:(*\ ,mb:\ ,ex:*)
setlocal comments^=sr:(**,mb:\ \ ,ex:*)
setlocal fo=cqort
+ let b:undo_indent .= " | setl com< fo<"
endif
endif