nvimrc: set norelativenumber, update go test output
This commit is contained in:
parent
a6ce992e95
commit
51af20dabc
4
nvimrc
4
nvimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue