view runtime/indent/dune.vim @ 24416:1754622e1bce v8.2.2748

patch 8.2.2748: Vim9: memory leak when calling :def function fails Commit: https://github.com/vim/vim/commit/c4297697761230489a025b3e39b992cca845b1b3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 10 20:46:48 2021 +0200 patch 8.2.2748: Vim9: memory leak when calling :def function fails Problem: Vim9: memory leak when calling :def function fails. Solution: Jump to failed_early instead of returning.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 21:00:04 +0200
parents 15fa3923cc49
children 5c220cf30f1f
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

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