summaryrefslogtreecommitdiffstats
path: root/common/nixvim.nix
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2025-04-22 19:58:07 +0200
committerMinijackson <minijackson@riseup.net>2025-04-22 19:58:07 +0200
commitb658da6a69c72cf190042762c6ea6902fd356e98 (patch)
tree0049597c2640a02397efa73e2c81f66823419b3a /common/nixvim.nix
parenta895b9fdaf63b8011f87d6b6c74cf8e2fee8a806 (diff)
downloadnixos-config-reborn-b658da6a69c72cf190042762c6ea6902fd356e98.tar.gz
nixos-config-reborn-b658da6a69c72cf190042762c6ea6902fd356e98.zip
nixvim: switch yon to only enable number lines
before it did both numbers and relative numbers
Diffstat (limited to 'common/nixvim.nix')
-rw-r--r--common/nixvim.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nixvim.nix b/common/nixvim.nix
index 4fe57ef..87971b2 100644
--- a/common/nixvim.nix
+++ b/common/nixvim.nix
@@ -640,6 +640,7 @@ inputs:
640 {"h", "hlsearch"}, 640 {"h", "hlsearch"},
641 {"i", "ignorecase"}, 641 {"i", "ignorecase"},
642 {"l", "list"}, 642 {"l", "list"},
643 {"n", "number"},
643 {"r", "relativenumber"}, 644 {"r", "relativenumber"},
644 {"s", "spell"}, 645 {"s", "spell"},
645 {"w", "wrap"}, 646 {"w", "wrap"},
@@ -647,7 +648,6 @@ inputs:
647 Snacks.toggle.option(x[2]):map("yo" .. x[1]) 648 Snacks.toggle.option(x[2]):map("yo" .. x[1])
648 end 649 end
649 650
650 Snacks.toggle.line_number():map("yon")
651 Snacks.toggle.indent():map("yoI") 651 Snacks.toggle.indent():map("yoI")
652 Snacks.toggle.diagnostics():map("<leader>sd") 652 Snacks.toggle.diagnostics():map("<leader>sd")
653 Snacks.toggle.inlay_hints():map("<leader>sT") 653 Snacks.toggle.inlay_hints():map("<leader>sT")