mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-08 03:11:36 +00:00
feat: add debugMode
This commit is contained in:
parent
16b1f7fe5e
commit
f491d49c15
3 changed files with 33 additions and 3 deletions
|
@ -28,6 +28,12 @@ in {
|
|||
vim.nnoremap = mkIf cfg.mapLeaderSpace {"<space>" = "<nop>";};
|
||||
|
||||
vim.configRC.basic = nvim.dag.entryAfter ["globalsScript"] ''
|
||||
" Debug mode settings
|
||||
${optionalString cfg.debugMode.enable ''
|
||||
set verbose=${toString cfg.debugMode.level}
|
||||
set verbosefile=${cfg.debugMode.logFile}
|
||||
''}
|
||||
|
||||
" Settings that are set for everything
|
||||
set encoding=utf-8
|
||||
set mouse=${cfg.mouseSupport}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue