From d875ef34668ae70d74c7018012513b423d71f8c5 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:19:04 +0100 Subject: [PATCH] Enable nvim relative line numbers --- home/features/coding/nvim/default.nix | 4 ++++ home/features/coding/nvim/options.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home/features/coding/nvim/default.nix b/home/features/coding/nvim/default.nix index 7fb907a..c2d4fad 100644 --- a/home/features/coding/nvim/default.nix +++ b/home/features/coding/nvim/default.nix @@ -152,6 +152,10 @@ in { type = "lua"; } ]; + + extraLuaConfig = '' + ${builtins.readFile ./options.lua} + ''; }; xdg.desktopEntries = { diff --git a/home/features/coding/nvim/options.lua b/home/features/coding/nvim/options.lua index eebabfa..0978ef0 100644 --- a/home/features/coding/nvim/options.lua +++ b/home/features/coding/nvim/options.lua @@ -3,7 +3,7 @@ vim.g.maplocalleader = " " vim.o.clipboard = "unnamedplus" -vim.o.number = true +-- vim.o.number = true vim.o.relativenumber = true vim.o.signcolumn = "yes"