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";