Mercurial > vim
view runtime/indent/dune.vim @ 23549:4156f972efb1 v8.2.2317
patch 8.2.2317: Vim9: command modifier before list unpack doesn't work
Commit: https://github.com/vim/vim/commit/9e0f883f89c915e08ef5fd9e6bf382af57fa9eb2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 9 12:09:22 2021 +0100
patch 8.2.2317: Vim9: command modifier before list unpack doesn't work
Problem: Vim9: command modifier before list unpack doesn't work.
Solution: Only recognize "[" directly after the name. (closes https://github.com/vim/vim/issues/7641)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Jan 2021 12:15:05 +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