Mercurial > vim
view runtime/syntax/bash.vim @ 28775:7fd3a9f05037 v8.2.4912
patch 8.2.4912: using execute() to define a lambda doesn't work
Commit: https://github.com/vim/vim/commit/a7583c42cd6b64fd276a5d7bb0db5ce7bfafa730
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 7 21:14:05 2022 +0100
patch 8.2.4912: using execute() to define a lambda doesn't work
Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
Solution: Put the getline function in evalarg. (closes https://github.com/vim/vim/issues/10375)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 May 2022 22:15:03 +0200 |
parents | 03b854983b14 |
children | 71cbad0921c9 |
line wrap: on
line source
" Vim syntax file " Language: bash " Maintainer: Bram " Last Change: 2019 Sep 27 " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif " The actual syntax is in sh.vim and controlled by buffer-local variables. unlet! b:is_sh unlet! b:is_kornshell let b:is_bash = 1 runtime! syntax/sh.vim let b:current_syntax = 'bash' " vim: ts=8