annotate runtime/compiler/pyunit.vim @ 26721:9c9b8d95b05f
v8.2.3889
patch 8.2.3889: duplicate code for translating script-local function name
Commit: https://github.com/vim/vim/commit/e7f4abd38b6e05100c699900c8f87281e363beb2
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Fri Dec 24 20:47:38 2021 +0000
patch 8.2.3889: duplicate code for translating script-local function name
Problem: Duplicate code for translating script-local function name.
Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
closes #9393)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 24 Dec 2021 22:00:03 +0100 |
parents |
3fc0f57ecb91 |
children |
e1df51f68736 |
rev |
line source |
7
|
1 " Vim compiler file
|
|
2 " Compiler: Unit testing tool for Python
|
|
3 " Maintainer: Max Ischenko <mfi@ukr.net>
|
|
4 " Last Change: 2004 Mar 27
|
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "pyunit"
|
|
10
|
|
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
|
15 CompilerSet efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m
|
|
16
|