Skip to content

Instantly share code, notes, and snippets.

@grepsuzette
grepsuzette / GnoFileTest.vim
Created February 29, 2024 11:07
:GnoFileTest gno filetest command for vim
command! -nargs=0 GnoFileTest call GnoFileTest()
" place yourself in a xxxxx_filetest.gno
" type `:GnoFileTest`.
" It will
" - get rid of the previous lines following 'Error: ',
" - run `gno test .` for you
" - refresh the filetest automatically
" (so you see the errors, or absence of it
" without opening a terminal).