Mercurial > vim
view runtime/syntax/aidl.vim @ 30333:fc0830246f49 v9.0.0502
patch 9.0.0502: a closure in a nested loop in a :def function does not work
Commit: https://github.com/vim/vim/commit/cc34181f9994d64f8c8fa2f5845eaf0cc963067f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 19 15:54:34 2022 +0100
patch 9.0.0502: a closure in a nested loop in a :def function does not work
Problem: A closure in a nested loop in a :def function does not work.
Solution: Use an array of loopvars, one per loop level.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Sep 2022 17:00:07 +0200 |
parents | 99ef85ff1af4 |
children |
line wrap: on
line source
" Vim syntax file " Language: aidl (Android Interface Definition Language) " https://developer.android.com/guide/components/aidl " Maintainer: Dominique Pelle <dominique.pelle@tomtom.com> " LastChange: 2020/12/03 " Quit when a syntax file was already loaded. if exists("b:current_syntax") finish endif source <sfile>:p:h/java.vim syn keyword aidlParamDir in out inout syn keyword aidlKeyword const oneway parcelable " Needed for the 'in', 'out', 'inout' keywords to be highlighted. syn cluster javaTop add=aidlParamDir hi def link aidlParamDir StorageClass hi def link aidlKeyword Keyword let b:current_syntax = "aidl"