From b0a00478fe02ac9323cd1b0f31a9f6895b8d4835 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Sat, 28 Sep 2024 13:00:07 +0200 Subject: [PATCH] =?UTF-8?q?home/editor:=20Re=E2=80=90structure=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/config/nil/editor.nix | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/home/config/nil/editor.nix b/home/config/nil/editor.nix index 4f221cf..ab70a06 100644 --- a/home/config/nil/editor.nix +++ b/home/config/nil/editor.nix @@ -3,24 +3,28 @@ enable = true; defaultEditor = true; settings = { - editor.auto-pairs = { - "“" = "”"; - "‘" = "’"; - "„" = "“"; - "‚" = "‘"; - }; + editor = { + auto-pairs = { + "“" = "”"; + "‘" = "’"; + "„" = "“"; + "‚" = "‘"; + }; - editor.whitespace.render = { - nbsp = "all"; - nnbsp = "all"; - tab = "all"; - }; + whitespace = { + render = { + nbsp = "all"; + nnbsp = "all"; + tab = "all"; + }; - editor.whitespace.characters = { - nbsp = "␣"; - nnbsp = "⍽"; - tab = "»"; - tabpad = "·"; + characters = { + nbsp = "␣"; + nnbsp = "⍽"; + tab = "»"; + tabpad = "·"; + }; + }; }; keys.normal = {