view runtime/syntax/godoc.vim @ 9680:1b8932823a02 v7.4.2116

commit https://github.com/vim/vim/commit/c73e4474b1f1b5b18a8d504eec5305e0c77981f7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 29 18:33:38 2016 +0200 patch 7.4.2116 Problem: The default vimrc for Windows is very conservative. Solution: Use the defaults.vim in the Windows installer.
author Christian Brabandt <cb@256bit.org>
date Fri, 29 Jul 2016 18:45:05 +0200
parents 1e8ebf870720
children 46763b01cd9a
line wrap: on
line source

" Vim syntax file
" Language:	Godoc (generated documentation for go)
" Maintainer:	David Barnett (https://github.com/google/vim-ft-go)
" Last Change:	2014 Aug 16

if exists('b:current_syntax')
  finish
endif

syn case match
syn match godocTitle "^\([A-Z][A-Z ]*\)$"

command -nargs=+ HiLink hi def link <args>

HiLink godocTitle Title

delcommand HiLink

let b:current_syntax = 'godoc'

" vim: sw=2 sts=2 et