mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Compare commits
2 Commits
e54d696781
...
6735796c5f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6735796c5f | ||
|
|
f5393cfee0 |
@@ -2,7 +2,7 @@ This is my top-starred repository on Github, so I've decided to put this ad here
|
|||||||
|
|
||||||
If you work for big corp and seek consulting, please visit following repository: https://github.com/sheerun/consultation
|
If you work for big corp and seek consulting, please visit following repository: https://github.com/sheerun/consultation
|
||||||
|
|
||||||

|
||||||
|
|
||||||
A collection of language packs for Vim.
|
A collection of language packs for Vim.
|
||||||
|
|
||||||
|
|||||||
@@ -10,18 +10,17 @@ endif
|
|||||||
|
|
||||||
" Quit when a syntax file was already loaded.
|
" Quit when a syntax file was already loaded.
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
endif
|
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 aidlStorageClass in out inout const oneway
|
||||||
syn keyword aidlKeyword const oneway parcelable
|
syn keyword aidlInterfaceDecl parcelable union
|
||||||
|
|
||||||
" Needed for the 'in', 'out', 'inout' keywords to be highlighted.
|
hi def link aidlStorageClass javaStorageClass
|
||||||
syn cluster javaTop add=aidlParamDir
|
hi def link aidlInterfaceDecl javaClassDecl
|
||||||
|
|
||||||
hi def link aidlParamDir StorageClass
|
|
||||||
hi def link aidlKeyword Keyword
|
|
||||||
|
|
||||||
let b:current_syntax = "aidl"
|
let b:current_syntax = "aidl"
|
||||||
|
|||||||
Reference in New Issue
Block a user