Mercurial > vim
view runtime/compiler/jshint.vim @ 27718:3c71a65a389a v8.2.4385
patch 8.2.4385: cannot build tiny version
Commit: https://github.com/vim/vim/commit/b5d2039e000e0787a04208928ad49e105529e36b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 14 21:42:15 2022 +0000
patch 8.2.4385: cannot build tiny version
Problem: Cannot build tiny version.
Solution: Adjust #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Feb 2022 22:45:03 +0100 |
parents | 0db0640e16e0 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: JSHint " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 Jul 10 if exists("current_compiler") finish endif let current_compiler = "jshint" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim " CompilerSet makeprg=npx\ jshint\ --verbose CompilerSet makeprg=jshint\ --verbose CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m\ (%t%n), \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save