Mercurial > vim
view runtime/syntax/aidl.vim @ 23515:8cce160b9183 v8.2.2300
patch 8.2.2300: Vim9: wrong order on type stack when using dict
Commit: https://github.com/vim/vim/commit/d62d87d8f3f337a25b7da72abf55fc8a4bb6100c
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 4 17:40:12 2021 +0100
patch 8.2.2300: Vim9: wrong order on type stack when using dict
Problem: Vim9: wrong order on type stack when using dict.
Solution: Generate constants before a dict. (closes https://github.com/vim/vim/issues/7619)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Jan 2021 17:45:03 +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"