annotate runtime/syntax/aidl.vim @ 29247:5f314b2ed494 v8.2.5142

patch 8.2.5142: startup test fails if there is a status bar Commit: https://github.com/vim/vim/commit/fa04eae5a5b9394079bde2d37ce6f9f8a5567d48 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 21 14:38:40 2022 +0100 patch 8.2.5142: startup test fails if there is a status bar Problem: Startup test fails if there is a status bar at the top of the screen. (Ernie Rael) Solution: Use a larger vertical offset in the test.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Jun 2022 18:45:07 +0200
parents 99ef85ff1af4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21499
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: aidl (Android Interface Definition Language)
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " https://developer.android.com/guide/components/aidl
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Maintainer: Dominique Pelle <dominique.pelle@tomtom.com>
23164
99ef85ff1af4 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 21499
diff changeset
5 " LastChange: 2020/12/03
21499
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 " Quit when a syntax file was already loaded.
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 if exists("b:current_syntax")
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 finish
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 endif
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 source <sfile>:p:h/java.vim
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 syn keyword aidlParamDir in out inout
23164
99ef85ff1af4 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 21499
diff changeset
15 syn keyword aidlKeyword const oneway parcelable
21499
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 " Needed for the 'in', 'out', 'inout' keywords to be highlighted.
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 syn cluster javaTop add=aidlParamDir
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 hi def link aidlParamDir StorageClass
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 hi def link aidlKeyword Keyword
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 let b:current_syntax = "aidl"