feat(nvim): update configuration

This commit is contained in:
Michael Thomas 2024-06-13 01:27:57 +02:00
parent f5b275385c
commit 553a0f269c

View File

@ -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