view runtime/indent/dune.vim @ 24679:80422f66978a v8.2.2878

patch 8.2.2878: Vim9: for loop list unpack only allows for one "_" Commit: https://github.com/vim/vim/commit/b777da9be8eb421982e567702db3195475383dec Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 22 21:40:39 2021 +0200 patch 8.2.2878: Vim9: for loop list unpack only allows for one "_" Problem: Vim9: for loop list unpack only allows for one "_". Solution: Drop the value when the variable is "_". (closes https://github.com/vim/vim/issues/8232)
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 May 2021 21:45:02 +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