blob: 3a79433aa9ebf6c7be9ee13d4d505f3c5f67a9b3 [file] [log] [blame]
Bram Moolenaar2547aa92020-07-26 17:00:44 +02001" Vim syntax file
2" Language: aidl (Android Interface Definition Language)
3" https://developer.android.com/guide/components/aidl
4" Maintainer: Dominique Pelle <dominique.pelle@tomtom.com>
Bram Moolenaar1b884a02020-12-10 21:11:27 +01005" LastChange: 2020/12/03
Bram Moolenaar2547aa92020-07-26 17:00:44 +02006
7" Quit when a syntax file was already loaded.
8if exists("b:current_syntax")
9 finish
10endif
11
12source <sfile>:p:h/java.vim
13
14syn keyword aidlParamDir in out inout
Bram Moolenaar1b884a02020-12-10 21:11:27 +010015syn keyword aidlKeyword const oneway parcelable
Bram Moolenaar2547aa92020-07-26 17:00:44 +020016
17" Needed for the 'in', 'out', 'inout' keywords to be highlighted.
18syn cluster javaTop add=aidlParamDir
19
20hi def link aidlParamDir StorageClass
21hi def link aidlKeyword Keyword
22
23let b:current_syntax = "aidl"