view runtime/compiler/standard.vim @ 29942:991bec040ce9 v9.0.0309

patch 9.0.0309: invalid memory access when cmdheight is zero Commit: https://github.com/vim/vim/commit/7a99da43d14671cc91a302bcfa34d37a35eaa28d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 22:21:01 2022 +0100 patch 9.0.0309: invalid memory access when cmdheight is zero Problem: Invalid memory access when cmdheight is zero. Solution: Check index in w_lines is smaller than Rows.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 23:30:03 +0200
parents bbca88cd13d5
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:    Standard for JavaScript
" Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2020 August 20

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

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

CompilerSet makeprg=npx\ standard
CompilerSet errorformat=%f:%l:%c:\ %m,%-G%.%#