Mercurial > vim
view runtime/indent/dictdconf.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 | 1218c5353e2b |
children | 6dd88e45d47d |
line wrap: on
line source
" Vim indent file " Language: dictd(8) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-12-20 if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent setlocal nosmartindent inoremap <buffer> # X#