Mercurial > vim
view runtime/compiler/typedoc.vim @ 23810:8152b7daebad v8.2.2446
patch 8.2.2446: setting 'term' empty has different error if compiled with GUI
Commit: https://github.com/vim/vim/commit/5daa91162699e4f8b54f9d1caaaab2715038941c
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 1 18:39:47 2021 +0100
patch 8.2.2446: setting 'term' empty has different error if compiled with GUI
Problem: Setting 'term' empty has different error if compiled with GUI.
Solution: Insert "else". (closes https://github.com/vim/vim/issues/7766)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Feb 2021 18:45:06 +0100 |
parents | 0db0640e16e0 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: TypeDoc " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2020 Feb 10 if exists("current_compiler") finish endif let current_compiler = "typedoc" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim " CompilerSet makeprg=npx\ typedoc CompilerSet makeprg=typedoc CompilerSet errorformat=%EError:\ %f(%l), \%WWarning:\ %f(%l), \%+IDocumentation\ generated\ at\ %f, \%Z\ %m, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save