mirror of
https://github.com/amix/vimrc
synced 2024-12-26 20:03:12 +00:00
97e3db7fe9
Added: vim-ruby, typescript-vim, vim-javascript Updated: rust-vim
16 lines
414 B
VimL
16 lines
414 B
VimL
" Vim compiler plugin
|
|
" Language: JavaScript
|
|
" Maintainer: vim-javascript community
|
|
" URL: https://github.com/pangloss/vim-javascript
|
|
|
|
if exists("current_compiler")
|
|
finish
|
|
endif
|
|
let current_compiler = "eslint"
|
|
|
|
if exists(":CompilerSet") != 2
|
|
command! -nargs=* CompilerSet setlocal <args>
|
|
endif
|
|
|
|
CompilerSet makeprg=eslint\ -f\ compact\ %
|
|
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m
|