Mercurial > vim
view runtime/compiler/scdoc.vim @ 27978:442ca2007bec v8.2.4514
patch 8.2.4514: Vim9: some flow commands can be shortened
Commit: https://github.com/vim/vim/commit/b2175220dafc28349b275ac7f3080f89cce78a57
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 5 20:24:41 2022 +0000
patch 8.2.4514: Vim9: some flow commands can be shortened
Problem: Vim9: some flow commands can be shortened.
Solution: Also require using the full name for ":return", ":enddef",
":continue", ":export" and ":import".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Mar 2022 21:30: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%.%#