Mercurial > vim
annotate runtime/syntax/aidl.vim @ 28451:e015d650ea9f v8.2.4750
patch 8.2.4750: small pieces of dead code
Commit: https://github.com/vim/vim/commit/b836658a04ee5456deca2ee523de9efe51252da3
Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Date: Thu Apr 14 20:43:56 2022 +0100
patch 8.2.4750: small pieces of dead code
Problem: Small pieces of dead code.
Solution: Remove the dead code. (Goc Dundar, closes https://github.com/vim/vim/issues/10190) Rename the
qftf_cb struct member to avoid confusion.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 14 Apr 2022 21:45:02 +0200 |
parents | 99ef85ff1af4 |
children |
rev | line source |
---|---|
21499 | 1 " Vim syntax file |
2 " Language: aidl (Android Interface Definition Language) | |
3 " https://developer.android.com/guide/components/aidl | |
4 " Maintainer: Dominique Pelle <dominique.pelle@tomtom.com> | |
23164 | 5 " LastChange: 2020/12/03 |
21499 | 6 |
7 " Quit when a syntax file was already loaded. | |
8 if exists("b:current_syntax") | |
9 finish | |
10 endif | |
11 | |
12 source <sfile>:p:h/java.vim | |
13 | |
14 syn keyword aidlParamDir in out inout | |
23164 | 15 syn keyword aidlKeyword const oneway parcelable |
21499 | 16 |
17 " Needed for the 'in', 'out', 'inout' keywords to be highlighted. | |
18 syn cluster javaTop add=aidlParamDir | |
19 | |
20 hi def link aidlParamDir StorageClass | |
21 hi def link aidlKeyword Keyword | |
22 | |
23 let b:current_syntax = "aidl" |