Mercurial > vim
annotate runtime/syntax/aidl.vim @ 23505:bb29b09902d5 v8.2.2295
patch 8.2.2295: incsearch does not detect empty pattern properly
Commit: https://github.com/vim/vim/commit/d93a7fc1a98a58f8101ee780d4735079ad99ae35
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 4 12:42:13 2021 +0100
patch 8.2.2295: incsearch does not detect empty pattern properly
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612, closes #6420)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Jan 2021 12:45:05 +0100 |
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" |