view runtime/indent/dune.vim @ 23707:6e8a4a30d94d v8.2.2395

patch 8.2.2395: Vim9: error for wrong type may report wrong line number Commit: https://github.com/vim/vim/commit/9a562c184d98d82bb7506caf2071cfe15a92fa43 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 23 13:39:14 2021 +0100 patch 8.2.2395: Vim9: error for wrong type may report wrong line number Problem: Vim9: error for wrong type may report wrong line number. Solution: Save and restore the line number when evaluating the expression. (closes #7727)
author Bram Moolenaar <Bram@vim.org>
date Sat, 23 Jan 2021 13:45:04 +0100
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