refactor: do not log in file when it dont have to

This commit is contained in:
Oleksandr Smirnov 2025-02-27 23:43:15 +02:00
parent ed34cd1dd9
commit 7da0a7e492
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -28,7 +28,7 @@ local config = {
highlights = true,
-- Should write to a file
use_file = true,
use_file = vim.env.GOPHER_LOG_USE_FILE ~= "false",
-- Level configuration
modes = {