From 553a0f269cf118bf9cd4d7f086685b141e2950ac Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Thu, 13 Jun 2024 01:27:57 +0200 Subject: [PATCH] feat(nvim): update configuration --- pkgs/nvim/config/sets.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/nvim/config/sets.nix b/pkgs/nvim/config/sets.nix index d50f286..f5c0b52 100644 --- a/pkgs/nvim/config/sets.nix +++ b/pkgs/nvim/config/sets.nix @@ -1,10 +1,11 @@ { - pkgs, - lib, - config, - ... -}: { config = { + # Set colorscheme + colorscheme = "gruvbox"; + + # Enable experimental lua loader + luaLoader.enable = true; + opts = { # Enable relative line numbers number = true; @@ -87,7 +88,7 @@ # Change cursor options guicursor = [ "n-v-c:block" # Normal, visual, command-line: block cursor - "i-ci-ve:block" # Insert, command-line insert, visual-exclude: vertical bar cursor with block cursor, use "ver25" for 25% width + "i-ci-ve:ver25" # Insert, command-line insert, visual-exclude: vertical bar cursor with block cursor, use "ver25" for 25% width "r-cr:hor20" # Replace, command-line replace: horizontal bar cursor with 20% height "o:hor50" # Operator-pending: horizontal bar cursor with 50% height "a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor" # All modes: blinking settings @@ -95,7 +96,7 @@ ]; # Enable chars list - list = true; # Show invisible characters (tabs, eol, ...) + list = false; # Show invisible characters (tabs, eol, ...) listchars = "eol:↲,tab:|->,lead:·,space: ,trail:•,extends:→,precedes:←,nbsp:␣"; # More space in the neovim command line for displaying messages