annotate runtime/syntax/aidl.vim @ 23150:90b16a0022e5 v8.2.2121

patch 8.2.2121: internal error when using ze before zs in a pattern Commit: https://github.com/vim/vim/commit/a7a691cc142439e266f4ceb1f208bb952b57aa71 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 9 16:36:04 2020 +0100 patch 8.2.2121: internal error when using \ze before \zs in a pattern Problem: Internal error when using \ze before \zs in a pattern. Solution: Check the end is never before the start. (closes https://github.com/vim/vim/issues/7442)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Dec 2020 16:45:04 +0100
parents 3a1ed539ae2a
children 99ef85ff1af4
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>
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " LastChange: 2020/07/25
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
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 syn keyword aidlKeyword oneway parcelable
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"