Mercurial > vim
annotate runtime/compiler/scdoc.vim @ 30327:7fde373affbf v9.0.0499
patch 9.0.0499: in :def function list created after const is locked
Commit: https://github.com/vim/vim/commit/566badc76ba7c0fbdc75e62f79486182304fc7cc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 18 13:46:08 2022 +0100
patch 9.0.0499: in :def function list created after const is locked
Problem: In :def function list created after const is locked.
Solution: Reset v_lock. (closes https://github.com/vim/vim/issues/11154)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Sep 2022 15:00:02 +0200 |
parents | cd68a630f0d0 |
children | 99bf06d67e43 |
rev | line source |
---|---|
25619 | 1 " scdoc compiler for Vim |
2 " Compiler: scdoc | |
28843
cd68a630f0d0
Update runtime files and translations
Bram Moolenaar <Bram@vim.org>
parents:
25619
diff
changeset
|
3 " Maintainer: Gregory Anders <contact@gpanders.com> |
25619 | 4 " Last Updated: 2019-10-24 |
28843
cd68a630f0d0
Update runtime files and translations
Bram Moolenaar <Bram@vim.org>
parents:
25619
diff
changeset
|
5 " Upstream: https://github.com/gpanders/vim-scdoc |
25619 | 6 |
7 if exists('current_compiler') | |
8 finish | |
9 endif | |
10 let current_compiler = 'scdoc' | |
11 | |
12 if exists(':CompilerSet') != 2 | |
13 command -nargs=* CompilerSet setlocal <args> | |
14 endif | |
15 | |
16 CompilerSet makeprg=scdoc\ <\ %\ 2>&1 | |
17 CompilerSet errorformat=Error\ at\ %l:%c:\ %m,%-G%.%# |