view runtime/compiler/ghc.vim @ 10660:715836a72361 v8.0.0220

patch 8.0.0220: completion of highlight names misses a few values commit https://github.com/vim/vim/commit/15eedf1d621d980cb40f50cc6a78a09ab94388c7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 22 19:25:33 2017 +0100 patch 8.0.0220: completion of highlight names misses a few values Problem: Completion for :match does not show "none" and other missing highlight names. Solution: Skip over cleared entries before checking the index to be at the end.
author Christian Brabandt <cb@256bit.org>
date Sun, 22 Jan 2017 19:30:03 +0100
parents 923e383fa291
children
line wrap: on
line source

" Vim compiler file
" Compiler:         GHC Haskell Compiler
" Maintainer:       Daniel Campoverde <alx@sillybytes.net>
" Latest Revision:  2016-11-29

if exists("current_compiler")
  finish
endif
let current_compiler = "ghc"

let s:cpo_save = &cpo
set cpo&vim

CompilerSet errorformat=
    \%-G%.%#:\ build,
    \%-G%.%#preprocessing\ library\ %.%#,
    \%-G[%.%#]%.%#,
    \%E%f:%l:%c:\ %m,
    \%-G--%.%#

if exists('g:compiler_ghc_ignore_unmatched_lines')
  CompilerSet errorformat+=%-G%.%#
endif

let &cpo = s:cpo_save
unlet s:cpo_save