Mercurial > vim
view runtime/indent/raml.vim @ 24232:3058ed6db36f v8.2.2657
patch 8.2.2657: Vim9: error message for declaring variable in for loop
Commit: https://github.com/vim/vim/commit/522eefd9a247c574a51bfe9bf73467a8dc3bac42
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 26 18:49:22 2021 +0100
patch 8.2.2657: Vim9: error message for declaring variable in for loop
Problem: Vim9: error message for declaring variable in for loop.
Solution: Clear variables when entering block again. (closes https://github.com/vim/vim/issues/8012)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Mar 2021 19:00:04 +0100 |
parents | 2b30a2b4bde2 |
children |
line wrap: on
line source
" Vim indent file " Language: RAML (RESTful API Modeling Language) " Maintainer: mucheng <leisurelicht@gmail.com> " License: VIM LICENSE " Latest Revision: 2018-11-03 if exists("b:did_indent") finish endif " Same as yaml indenting. runtime! indent/yaml.vim