Mercurial > vim
view runtime/syntax/cvs.vim @ 16019:096b8ccd855e v8.1.1015
patch 8.1.1015: quickfix buffer shows up in list, can't get buffer number
commit https://github.com/vim/vim/commit/647e24ba3dbf7ff448aa471b1a659a18267ae056
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 17 16:39:46 2019 +0100
patch 8.1.1015: quickfix buffer shows up in list, can't get buffer number
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closes #4113)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Mar 2019 16:45:11 +0100 |
parents | 46763b01cd9a |
children | 180a1c5175f6 |
line wrap: on
line source
" Vim syntax file " Language: CVS commit file " Maintainer: Matt Dunford (zoot@zotikos.com) " URL: http://www.zotikos.com/downloads/cvs.vim " Last Change: Sat Nov 24 23:25:11 CET 2001 " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif syn region cvsLine start="^CVS: " end="$" contains=cvsFile,cvsCom,cvsFiles,cvsTag syn match cvsFile contained " \t\(\(\S\+\) \)\+" syn match cvsTag contained " Tag:" syn match cvsFiles contained "\(Added\|Modified\|Removed\) Files:" syn region cvsCom start="Committing in" end="$" contains=cvsDir contained extend keepend syn match cvsDir contained "\S\+$" " Define the default highlighting. " Only when an item doesn't have highlighting yet hi def link cvsLine Comment hi def link cvsDir cvsFile hi def link cvsFile Constant hi def link cvsFiles cvsCom hi def link cvsTag cvsCom hi def link cvsCom Statement let b:current_syntax = "cvs"