From 8be5c169b6abb5651f07b1faee32ace916102fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Wed, 20 Nov 2024 21:57:58 +0100 Subject: [PATCH] fix(nvim): remove numbers from sign column in terminal window --- nvim/augroups.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nvim/augroups.nix b/nvim/augroups.nix index de18584..d6b4008 100644 --- a/nvim/augroups.nix +++ b/nvim/augroups.nix @@ -15,9 +15,23 @@ in "highlightOnYank" = { }; "lspConfig" = { }; "restoreCursorPosition" = { }; + "terminalConfig" = { }; }; autoCmd = [ + { + group = "terminalConfig"; + event = "TermOpen"; + pattern = "*"; + callback = + # lua + mkRaw '' + function(args) + vim.wo.number = false + vim.wo.relativenumber = false + end + ''; + } { group = "highlightOnYank"; event = "TextYankPost";