view runtime/syntax/aidl.vim @ 21572:e9954158a9cf v8.2.1336

patch 8.2.1336: build failure on non-Unix systems Commit: https://github.com/vim/vim/commit/af50e899e70ee34d5356846afbea7d75701cb22b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 13:22:10 2020 +0200 patch 8.2.1336: build failure on non-Unix systems Problem: Build failure on non-Unix systems. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 13:30:05 +0200
parents 3a1ed539ae2a
children 99ef85ff1af4
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/07/25

" 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 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"