File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,17 @@ endif
1010
1111" Quit when a syntax file was already loaded.
1212if exists (" b:current_syntax" )
13- finish
13+ finish
1414endif
1515
16- source <sfile> :p :h /java.vim
17-
18- syn keyword aidlParamDir in out inout
19- syn keyword aidlKeyword const oneway parcelable
16+ if filereadable ($VIMRUNTIME . " /syntax/java.vim" )
17+ source $VIMRUNTIME /syntax/ java.vim
18+ endif
2019
21- " Needed for the 'in', ' out', ' inout' keywords to be highlighted.
22- syn cluster javaTop add = aidlParamDir
20+ syn keyword aidlStorageClass in out inout const oneway
21+ syn keyword aidlInterfaceDecl parcelable union
2322
24- hi def link aidlParamDir StorageClass
25- hi def link aidlKeyword Keyword
23+ hi def link aidlStorageClass javaStorageClass
24+ hi def link aidlInterfaceDecl javaClassDecl
2625
2726let b: current_syntax = " aidl"
You can’t perform that action at this time.
0 commit comments