diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 198074f..e448026 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,8 +9,6 @@ on: jobs: tests: - env: - GOPHER_LOG_USE_FILE: false strategy: matrix: os: [ubuntu-latest] diff --git a/lua/gopher/_utils/log.lua b/lua/gopher/_utils/log.lua index f5f3cb4..c7dccd7 100644 --- a/lua/gopher/_utils/log.lua +++ b/lua/gopher/_utils/log.lua @@ -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 = { diff --git a/scripts/minimal_init.lua b/scripts/minimal_init.lua index 8416917..52cfed8 100644 --- a/scripts/minimal_init.lua +++ b/scripts/minimal_init.lua @@ -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