neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

eslint.vim (385B)


      1 " Vim compiler file
      2 " Compiler:    ESLint for JavaScript
      3 " Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
      4 " Last Change: 2024 Nov 30
      5 
      6 if exists("current_compiler")
      7  finish
      8 endif
      9 let current_compiler = "eslint"
     10 
     11 CompilerSet makeprg=npx\ eslint\ --format\ stylish
     12 CompilerSet errorformat=%-P%f,\%\\s%#%l:%c\ %#\ %trror\ \ %m,\%\\s%#%l:%c\ %#\ %tarning\ \ %m,\%-Q,\%-G%.%#,