Mercurial > vim
view runtime/indent/xhtml.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 | 25dd5036f2b0 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: XHTML " Maintainer: Bram Moolenaar <Bram@vim.org> (for now) " Last Change: 2005 Jun 24 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif " Handled like HTML for now. runtime! indent/html.vim