view runtime/indent/dune.vim @ 33210:039954b5721d

runtime(doc): update help tags file Commit: https://github.com/vim/vim/commit/11d2aeeca4cf191b3f25b36603dcd32167eac8a0 Author: Christian Brabandt <cb@256bit.org> Date: Wed Sep 6 16:39:14 2023 +0200 runtime(doc): update help tags file Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Sep 2023 08:30:05 +0200
parents 5c220cf30f1f
children
line wrap: on
line source

" Vim indent file
" Language: dune
" Maintainers:  Markus Mottl         <markus.mottl@gmail.com>
" URL:          https://github.com/ocaml/vim-ocaml
" Last Change:  2021 Jan 01
"               2023 Aug 28 by Vim Project (undo_indent)

if exists("b:did_indent")
 finish
endif
let b:did_indent = 1

" dune format-dune-file uses 1 space to indent
setlocal softtabstop=1 shiftwidth=1 expandtab

let b:undo_indent = "setl et< sts< sw<"