Mercurial > vim
annotate runtime/syntax/godoc.vim @ 28871:18604231a1d1 v8.2.4958
patch 8.2.4958: a couple conditions are always true
Commit: https://github.com/vim/vim/commit/dd41037552c1be3548d2ce34bb1c889f14edb553
Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Date: Sun May 15 13:59:11 2022 +0100
patch 8.2.4958: a couple conditions are always true
Problem: A couple conditions are always true.
Solution: Remove the conditions. (Goc Dundar, closes https://github.com/vim/vim/issues/10428)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 May 2022 15:00:02 +0200 |
parents | 46763b01cd9a |
children |
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 | |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
6153
diff
changeset
|
14 hi def link godocTitle Title |
6153 | 15 |
16 | |
17 let b:current_syntax = 'godoc' | |
18 | |
19 " vim: sw=2 sts=2 et |