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