summaryrefslogblamecommitdiffstats
path: root/compiler/nix-build.vim
blob: 89a2453bc6969f451f0ac4a0b9d50bdbe1f91cd2 (plain) (tree)
1
2
3
4
                                                       

        
 










                                                                                                                                                              
if !polyglot#util#IsEnabled('nix', expand('<sfile>:p'))
  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