Mercurial > vim
view runtime/compiler/jshint.vim @ 32659:4e2d73ee7350 v9.0.1661
patch 9.0.1661: BUCK files are not recognized
Commit: https://github.com/vim/vim/commit/b46e0f3263acd99c61df06ee3c4d1f6e0b471bc3
Author: Son Luong Ngoc <sluongng@gmail.com>
Date: Sat Jun 24 17:11:04 2023 +0100
patch 9.0.1661: BUCK files are not recognized
Problem: BUCK files are not recognized.
Solution: Recognize BUCK files as "bzl". (Son Luong Ngoc, closes https://github.com/vim/vim/issues/12564)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Jun 2023 18:15:05 +0200 |
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