From 2680be20a3360b761fa8531dbfee49223b93d300 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 23 Apr 2024 14:55:11 +0300 Subject: [PATCH] neovim/debug: handle debug log path correctly --- modules/neovim/init/debug.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/neovim/init/debug.nix b/modules/neovim/init/debug.nix index 7b801c8..2eedc15 100644 --- a/modules/neovim/init/debug.nix +++ b/modules/neovim/init/debug.nix @@ -39,11 +39,11 @@ in { config.vim = mkIf cfg.enable { luaConfigRC.debug-mode = entryAfter ["basic"] '' -- Debug mode settings - vim.o.verbose = ${toString cfg.level}, + vim.o.verbose = ${toString cfg.level} ${optionalString (cfg.logFile != null) '' -- Set verbose log file - vim.o.verbosefile = ${cfg.logFile}, + vim.o.verbosefile = "${cfg.logFile}" ''} ''; };