view runtime/compiler/pyunit.vim @ 32576:5d32f2d42a6b v9.0.1620

patch 9.0.1620: Nix files are not recognized from the hashbang line Commit: https://github.com/vim/vim/commit/19548c6a742d954ecd0b50b0680c37cc6ced7473 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 8 21:27:13 2023 +0100 patch 9.0.1620: Nix files are not recognized from the hashbang line Problem: Nix files are not recognized from the hashbang line. Solution: Add a hashbang check. (issue https://github.com/vim/vim/issues/12507)
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Jun 2023 22:30:04 +0200
parents 3fc0f57ecb91
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Unit testing tool for Python
" Maintainer:	Max Ischenko <mfi@ukr.net>
" Last Change: 2004 Mar 27

if exists("current_compiler")
  finish
endif
let current_compiler = "pyunit"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m