Compare commits

...

2 Commits

Author SHA1 Message Date
Nariyasu Heseri
e54d696781 Fix AIDL syntax
Since syntax/java.vim was removed, we base the syntax highlighting on
the Vim's builtin syntax/java.vim.
2024-10-25 11:26:00 +09:00
Adam Stankiewicz
692e359ad9 Update README.md
Some checks failed
Vim Polyglot CI / test (push) Has been cancelled
2024-10-22 08:33:53 +02:00
2 changed files with 9 additions and 12 deletions

View File

@@ -2,9 +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
![vim-polyglot](https://i.imgur.com/9RxQK6k.png)
[![build](https://github.com/sheerun/vim-polyglot/workflows/Vim%20Polyglot%20CI/badge.svg)](https://github.com/sheerun/vim-polyglot/actions) [![Maintenance](https://img.shields.io/badge/maintained%20since-2013-yes)]()
![vim-polyglot](https://i.imgur.com/9RxQK6k.png
A collection of language packs for Vim.

View File

@@ -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"