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
10
10
11
11
" Quit when a syntax file was already loaded.
12
12
if exists (" b:current_syntax" )
13
- finish
13
+ finish
14
14
endif
15
15
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
20
19
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
23
22
24
- hi def link aidlParamDir StorageClass
25
- hi def link aidlKeyword Keyword
23
+ hi def link aidlStorageClass javaStorageClass
24
+ hi def link aidlInterfaceDecl javaClassDecl
26
25
27
26
let b: current_syntax = " aidl"
You can’t perform that action at this time.
0 commit comments