Mercurial > vim
view runtime/syntax/godoc.vim @ 30423:221cca379bd5 v9.0.0547
patch 9.0.0547: looping over empty out_loop[] entries
Commit: https://github.com/vim/vim/commit/6d313bec535d9ccc24f6f82025280a61caad7416
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 22 16:36:25 2022 +0100
patch 9.0.0547: looping over empty out_loop[] entries
Problem: Looping over empty out_loop[] entries.
Solution: Store the array size.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 22 Sep 2022 17:45:03 +0200 |
parents | 46763b01cd9a |
children |
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 ]*\)$" hi def link godocTitle Title let b:current_syntax = 'godoc' " vim: sw=2 sts=2 et