just disable logs
This commit is contained in:
parent
f44a5d51b9
commit
c7504282f8
3 changed files with 3 additions and 5 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -9,8 +9,6 @@ on:
|
|||
|
||||
jobs:
|
||||
tests:
|
||||
env:
|
||||
GOPHER_LOG_USE_FILE: false
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ local config = {
|
|||
highlights = true,
|
||||
|
||||
-- Should write to a file
|
||||
use_file = vim.env.GOPHER_LOG_USE_FILE ~= "false",
|
||||
use_file = true,
|
||||
|
||||
-- Level configuration
|
||||
modes = {
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ require("nvim-treesitter.install").ensure_installed_sync "go"
|
|||
require("gopher").setup {
|
||||
-- ensures that all go deps are installed
|
||||
timeout = 5000,
|
||||
-- simply log everything
|
||||
log_level = vim.log.levels.TRACE,
|
||||
-- disable logs
|
||||
log_level = vim.log.levels.OFF,
|
||||
}
|
||||
|
||||
-- setup mini.test only when running headless nvim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue