mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-25 23:59:48 +01:00
neovim/debug: handle debug log path correctly
This commit is contained in:
parent
894022228a
commit
2680be20a3
1 changed files with 2 additions and 2 deletions
|
@ -39,11 +39,11 @@ in {
|
||||||
config.vim = mkIf cfg.enable {
|
config.vim = mkIf cfg.enable {
|
||||||
luaConfigRC.debug-mode = entryAfter ["basic"] ''
|
luaConfigRC.debug-mode = entryAfter ["basic"] ''
|
||||||
-- Debug mode settings
|
-- Debug mode settings
|
||||||
vim.o.verbose = ${toString cfg.level},
|
vim.o.verbose = ${toString cfg.level}
|
||||||
|
|
||||||
${optionalString (cfg.logFile != null) ''
|
${optionalString (cfg.logFile != null) ''
|
||||||
-- Set verbose log file
|
-- Set verbose log file
|
||||||
vim.o.verbosefile = ${cfg.logFile},
|
vim.o.verbosefile = "${cfg.logFile}"
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue