nvimrc: set norelativenumber, update go test output

This commit is contained in:
Rob Watson 2022-07-08 15:11:18 +02:00
parent a6ce992e95
commit 51af20dabc
1 changed files with 2 additions and 2 deletions

4
nvimrc
View File

@ -41,7 +41,7 @@ set showmatch
set wildmenu
set wildmode=list:full,full
set number
set relativenumber
set norelativenumber
set ruler
set backspace=indent,eol,start
set ignorecase
@ -220,7 +220,7 @@ _G._build_test_cmd = function()
return "bundle exec rspec --format=progress --no-profile " .. path
elseif filetype == "go" then
return "go test " .. path:gsub("^(.*)/(.*go)$", "%1/...")
return "go test -v " .. path:gsub("^(.*)/(.*go)$", "%1/...")
else
vim.api.nvim_err_writeln("filetype not supported: " .. filetype)
return nil