Mercurial > vim
annotate runtime/syntax/godoc.vim @ 8010:cbfb5ac5f9c5
Added tag v7.4.1299 for changeset b2cfa3416ba067b7191ef364afde19a067a432b3
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 10 Feb 2016 21:15:05 +0100 |
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 |