just disable logs

This commit is contained in:
Oleksandr Smirnov 2025-02-28 14:27:20 +02:00
parent f44a5d51b9
commit c7504282f8
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View file

@ -9,8 +9,6 @@ on:
jobs:
tests:
env:
GOPHER_LOG_USE_FILE: false
strategy:
matrix:
os: [ubuntu-latest]

View file

@ -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 = {

View file

@ -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