Mercurial > vim
view runtime/syntax/aidl.vim @ 26470:ff0310e6f889 v8.2.3765
patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others
Commit: https://github.com/vim/vim/commit/dcb53be4418fe263a71c7738315241031df6c986
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 9 14:23:43 2021 +0000
patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others
Problem: Vim9: cannot use a lambda for 'opfunc' and others.
Solution: Convert the lambda to a string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Dec 2021 15:30:04 +0100 |
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"