mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 14:33:50 -05:00
Compare commits
3 Commits
ceb92f5183
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f061eddb7c | ||
|
|
f5393cfee0 | ||
|
|
692e359ad9 |
@@ -1,11 +1,5 @@
|
|||||||
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
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[](https://github.com/sheerun/vim-polyglot/actions) []()
|
|
||||||
|
|
||||||
A collection of language packs for Vim.
|
A collection of language packs for Vim.
|
||||||
|
|
||||||
> One to rule them all, one to find them, one to bring them all and in the darkness bind them.
|
> One to rule them all, one to find them, one to bring them all and in the darkness bind them.
|
||||||
|
|||||||
@@ -10,17 +10,18 @@ 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
|
||||||
|
|
||||||
if filereadable($VIMRUNTIME . "/syntax/java.vim")
|
source <sfile>:p:h/java.vim
|
||||||
source $VIMRUNTIME/syntax/java.vim
|
|
||||||
endif
|
|
||||||
|
|
||||||
syn keyword aidlStorageClass in out inout const oneway
|
syn keyword aidlParamDir in out inout
|
||||||
syn keyword aidlInterfaceDecl parcelable union
|
syn keyword aidlKeyword const oneway parcelable
|
||||||
|
|
||||||
hi def link aidlStorageClass javaStorageClass
|
" Needed for the 'in', 'out', 'inout' keywords to be highlighted.
|
||||||
hi def link aidlInterfaceDecl javaClassDecl
|
syn cluster javaTop add=aidlParamDir
|
||||||
|
|
||||||
|
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