From 952427093541a82523f45895ccb848b80114a407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Sat, 27 Jul 2024 15:14:21 +0200 Subject: [PATCH] nixvim: enable line numbers --- flake.lock | 2 +- nixvim/config/default.nix | 3 ++- nixvim/config/options.nix | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 nixvim/config/options.nix diff --git a/flake.lock b/flake.lock index cb56447..6fc7014 100644 --- a/flake.lock +++ b/flake.lock @@ -315,7 +315,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-tnu4072GD9lOp31Erg0Xi6RKCqYCl+uZSnWsmQEY0/U=", + "narHash": "sha256-uROMzaBc8FFwhXwpWT2+Zmci8gvRCGzQc0wVwOGLcEs=", "path": "./nixvim", "type": "path" }, diff --git a/nixvim/config/default.nix b/nixvim/config/default.nix index f79f0e3..cd34c4a 100644 --- a/nixvim/config/default.nix +++ b/nixvim/config/default.nix @@ -1,7 +1,8 @@ { # Import all your configuration modules here imports = [ - ./bufferline.nix + ./options.nix ./clipboard.nix + ./bufferline.nix ]; } diff --git a/nixvim/config/options.nix b/nixvim/config/options.nix new file mode 100644 index 0000000..5b3a8bc --- /dev/null +++ b/nixvim/config/options.nix @@ -0,0 +1,5 @@ +{ + opts = { + number = true; + }; +}