view runtime/compiler/scdoc.vim @ 27472:55613f0d59bc v8.2.4264

patch 8.2.4264: Vim9: can use old style autoload function name Commit: https://github.com/vim/vim/commit/d8fe6d34bb582438142d7c1f73d0bd8537bb3a7a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 30 18:40:44 2022 +0000 patch 8.2.4264: Vim9: can use old style autoload function name Problem: Vim9: can use old style autoload function name. Solution: Give an error for old style autoload function name.
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Jan 2022 19:45:03 +0100
parents 29ec2c198c8d
children cd68a630f0d0
line wrap: on
line source

" scdoc compiler for Vim
" Compiler: scdoc
" Maintainer: Greg Anders <greg@gpanders.com>
" Last Updated: 2019-10-24

if exists('current_compiler')
    finish
endif
let current_compiler = 'scdoc'

if exists(':CompilerSet') != 2
    command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=scdoc\ <\ %\ 2>&1
CompilerSet errorformat=Error\ at\ %l:%c:\ %m,%-G%.%#