mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Compare commits
2 Commits
master
...
e2c32d34e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2c32d34e8 | ||
|
|
6735796c5f |
@@ -13,15 +13,14 @@ if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
source <sfile>:p:h/java.vim
|
||||
if filereadable($VIMRUNTIME . "/syntax/java.vim")
|
||||
source $VIMRUNTIME/syntax/java.vim
|
||||
endif
|
||||
|
||||
syn keyword aidlParamDir in out inout
|
||||
syn keyword aidlKeyword const oneway parcelable
|
||||
syn keyword aidlStorageClass in out inout const oneway
|
||||
syn keyword aidlInterfaceDecl parcelable union
|
||||
|
||||
" 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
|
||||
hi def link aidlStorageClass javaStorageClass
|
||||
hi def link aidlInterfaceDecl javaClassDecl
|
||||
|
||||
let b:current_syntax = "aidl"
|
||||
|
||||
Reference in New Issue
Block a user