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:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
env:
|
|
||||||
GOPHER_LOG_USE_FILE: false
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ local config = {
|
||||||
highlights = true,
|
highlights = true,
|
||||||
|
|
||||||
-- Should write to a file
|
-- Should write to a file
|
||||||
use_file = vim.env.GOPHER_LOG_USE_FILE ~= "false",
|
use_file = true,
|
||||||
|
|
||||||
-- Level configuration
|
-- Level configuration
|
||||||
modes = {
|
modes = {
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@ require("nvim-treesitter.install").ensure_installed_sync "go"
|
||||||
require("gopher").setup {
|
require("gopher").setup {
|
||||||
-- ensures that all go deps are installed
|
-- ensures that all go deps are installed
|
||||||
timeout = 5000,
|
timeout = 5000,
|
||||||
-- simply log everything
|
-- disable logs
|
||||||
log_level = vim.log.levels.TRACE,
|
log_level = vim.log.levels.OFF,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- setup mini.test only when running headless nvim
|
-- setup mini.test only when running headless nvim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue