view runtime/syntax/aidl.vim @ 32180:79ab211a3676 v9.0.1421

patch 9.0.1421: Nu files are not recognized Commit: https://github.com/vim/vim/commit/8aa2a37f8983a7863afa32d9ffbe64b2f2bc70be Author: Amaan Qureshi <amaanq12@gmail.com> Date: Tue Mar 21 21:28:06 2023 +0000 patch 9.0.1421: Nu files are not recognized Problem: Nu files are not recognized. Solution: Add a pattern for Nu files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12172)
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Mar 2023 22: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"