Mercurial > vim
annotate runtime/compiler/xmlwf.vim @ 25497:2246bcbeff89 v8.2.3285
patch 8.2.3285: scdoc filetype is not recognized
Commit: https://github.com/vim/vim/commit/dd097bdc1376e4ca2cfd4a4d64021b6ba0df4bed
Author: Gregory Anders <greg@gpanders.com>
Date: Wed Aug 4 20:00:27 2021 +0200
patch 8.2.3285: scdoc filetype is not recognized
Problem: Scdoc filetype is not recognized.
Solution: Add filetype detection. (Gregory Anders, closes https://github.com/vim/vim/issues/8701)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Aug 2021 20:15:03 +0200 |
parents | 2704c4e3e20a |
children | e1df51f68736 |
rev | line source |
---|---|
7 | 1 " Vim Compiler File |
2 " Compiler: xmlwf | |
3 " Maintainer: Robert Rowsome <rowsome@wam.umd.edu> | |
17571 | 4 " Last Change: 2019 Jul 23 |
7 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "xmlwf" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
15 command -nargs=* CompilerSet setlocal <args> | |
16 endif | |
17 | |
17571 | 18 CompilerSet makeprg=xmlwf\ %:S |
7 | 19 |
20 CompilerSet errorformat=%f:%l%c:%m | |
21 | |
22 let &cpo = s:cpo_save | |
23 unlet s:cpo_save |