Mercurial > vim
annotate runtime/syntax/godoc.vim @ 9687:a8421d842331
Added tag v7.4.2119 for changeset 8c2553beff0f783bd523754903bda32f7a71a2b5
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jul 2016 22:30:08 +0200 |
parents | 1e8ebf870720 |
children | 46763b01cd9a |
rev | line source |
---|---|
6153 | 1 " Vim syntax file |
2 " Language: Godoc (generated documentation for go) | |
3 " Maintainer: David Barnett (https://github.com/google/vim-ft-go) | |
4 " Last Change: 2014 Aug 16 | |
5 | |
6 if exists('b:current_syntax') | |
7 finish | |
8 endif | |
9 | |
10 syn case match | |
11 syn match godocTitle "^\([A-Z][A-Z ]*\)$" | |
12 | |
13 command -nargs=+ HiLink hi def link <args> | |
14 | |
15 HiLink godocTitle Title | |
16 | |
17 delcommand HiLink | |
18 | |
19 let b:current_syntax = 'godoc' | |
20 | |
21 " vim: sw=2 sts=2 et |