Mercurial > vim
annotate runtime/syntax/qf.vim @ 19627:6b1564fcab92 v8.2.0370
patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset
Commit: https://github.com/vim/vim/commit/e49b4bb89505fad28cf89f0891aef3e2d397919e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 11 13:01:40 2020 +0100
patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset
Problem: The typebuf_was_filled flag is sometimes not reset, which may
cause a hang.
Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
empty.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 11 Mar 2020 13:15:04 +0100 |
parents | 3fc0f57ecb91 |
children | 4027cefc2aab |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: Quickfix window | |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
4 " Last change: 2001 Jan 15 | |
5 | |
6 " Quit when a syntax file was already loaded | |
7 if exists("b:current_syntax") | |
8 finish | |
9 endif | |
10 | |
11 " A bunch of useful C keywords | |
12 syn match qfFileName "^[^|]*" nextgroup=qfSeparator | |
13 syn match qfSeparator "|" nextgroup=qfLineNr contained | |
14 syn match qfLineNr "[^|]*" contained contains=qfError | |
15 syn match qfError "error" contained | |
16 | |
17 " The default highlighting. | |
18 hi def link qfFileName Directory | |
19 hi def link qfLineNr LineNr | |
20 hi def link qfError Error | |
21 | |
22 let b:current_syntax = "qf" | |
23 | |
24 " vim: ts=8 |