From c323bbb865851afcbef0537a6ab1757fe8eab730 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 16 May 2023 17:00:51 +0300 Subject: [PATCH] fix: set `cursorlineopt=number` if theme is transparent --- modules/basic/config.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/basic/config.nix b/modules/basic/config.nix index 435b715..ae3c92f 100644 --- a/modules/basic/config.nix +++ b/modules/basic/config.nix @@ -75,6 +75,10 @@ in { set shortmess+=c set tm=${toString cfg.mapTimeout} set hidden + ${optionalString cfg.theme.transparent '' + " this needs to be set if the theme is transparent + set cursorlineopt=number + ''} ${optionalString cfg.splitBelow '' set splitbelow ''}