Mercurial > vim
view runtime/syntax/qf.vim @ 26131:87d8f52d3821 v8.2.3598
patch 8.2.3598: RouterOS filetype is not recognized
Commit: https://github.com/vim/vim/commit/0818ab82e7058145366ebbe759f0b3f74724bdfd
Author: zainin <thexsinner@gmail.com>
Date: Mon Nov 15 21:44:11 2021 +0000
patch 8.2.3598: RouterOS filetype is not recognized
Problem: RouterOS filetype is not recognized.
Solution: Add file and script patterns. (closes https://github.com/vim/vim/issues/9097)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Nov 2021 22:45:02 +0100 |
parents | 3fc0f57ecb91 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim syntax file " Language: Quickfix window " Maintainer: Bram Moolenaar <Bram@vim.org> " Last change: 2001 Jan 15 " Quit when a syntax file was already loaded if exists("b:current_syntax") finish endif " A bunch of useful C keywords syn match qfFileName "^[^|]*" nextgroup=qfSeparator syn match qfSeparator "|" nextgroup=qfLineNr contained syn match qfLineNr "[^|]*" contained contains=qfError syn match qfError "error" contained " The default highlighting. hi def link qfFileName Directory hi def link qfLineNr LineNr hi def link qfError Error let b:current_syntax = "qf" " vim: ts=8