summaryrefslogtreecommitdiffstats
path: root/compiler/nix-build.vim
blob: aa8932c106849bfa32b45a76ae47cf744e645147 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if !has_key(g:polyglot_is_disabled, 'nix')
  finish
endif

if exists('current_compiler')
    finish
endif
let current_compiler = 'nix-build'

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

CompilerSet errorformat=error:\ %m\ at\ %f:%l:%c,builder\ for\ \'%m\'\ failed\ with\ exit\ code\ %n,fixed-output\ derivation\ produced\ path\ \'%s\'\ with\ %m
CompilerSet makeprg=nix-build