Something went wrong. Try again.
Lints and suggestions for the Nix programming language
Something went wrong. Try again.
301 B · 14 lines
at main
123456789101112131415function! ApplyStatixSuggestion() let l:l = line('.') let l:c = col('.') let l:filter = "%!statix single -p " . l . "," . c . "" execute l:filter
silent if v:shell_error == 1 undo endif
call cursor(l, c)endfunction
nnoremap gf :call ApplyStatixSuggestion()<cr>