view runtime/syntax/aidl.vim @ 23164:99ef85ff1af4

Update runtime files. Commit: https://github.com/vim/vim/commit/1b884a0053982335f644eec6c71027706bf3c522 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 10 21:11:27 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Dec 2020 21:15:05 +0100
parents 3a1ed539ae2a
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"