Mercurial > vim
annotate runtime/syntax/aidl.vim @ 25457:b95f9cc3d1b9 v8.2.3265
patch 8.2.3265: smartcase does not work correctly in very magic pattern
Commit: https://github.com/vim/vim/commit/78ba933d18439ff1a02f6be4c571e73ddceb3cd4
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Aug 1 12:44:37 2021 +0200
patch 8.2.3265: smartcase does not work correctly in very magic pattern
Problem: Smartcase does not work correctly in very magic pattern.
Solution: Take the magicness into account when skipping over regexp items.
(Christian Brabandt, closes #8682, closes #7845)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Aug 2021 12:45:03 +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" |