Mercurial > vim
annotate runtime/compiler/cm3.vim @ 35348:1f56105832f2 default tip
runtime(man): disable the q mapping
Commit: https://github.com/vim/vim/commit/6dcd7f1a4d6d216798963edce9de69d03092433f
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Jun 6 19:06:38 2024 +0200
runtime(man): disable the q mapping
fixes: https://github.com/vim/vim/issues/8210
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 06 Jun 2024 19:30:03 +0200 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
24468 | 1 " Vim compiler file |
2 " Compiler: Critical Mass Modula-3 Compiler | |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
24468
diff
changeset
|
4 " Last Change: 2024 Apr 03 |
24468 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "cm3" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 " TODO: better handling of Quake errors | |
15 CompilerSet makeprg=cm3 | |
16 CompilerSet errorformat=%D---\ building\ in\ %f\ ---, | |
17 \%W\"%f\"\\,\ line\ %l:\ warning:\ %m, | |
18 \%E\"%f\"\\,\ line\ %l:\ %m, | |
19 \%-G%.%# | |
20 | |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save |