neovim/debug: handle debug log path correctly

This commit is contained in:
NotAShelf 2024-04-23 14:55:11 +03:00
parent 894022228a
commit 2680be20a3
No known key found for this signature in database
GPG Key ID: 02D1DD3FA08B6B29
1 changed files with 2 additions and 2 deletions

View File

@ -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}"
''}
'';
};