fix: set cursorlineopt=number if theme is transparent

This commit is contained in:
NotAShelf 2023-05-16 17:00:51 +03:00
parent bb2e56ad7c
commit bae1ef363a
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -75,6 +75,10 @@ in {
set shortmess+=c set shortmess+=c
set tm=${toString cfg.mapTimeout} set tm=${toString cfg.mapTimeout}
set hidden set hidden
${optionalString cfg.theme.transparent ''
" this needs to be set if the theme is transparent
set cursorlineopt=number
''}
${optionalString cfg.splitBelow '' ${optionalString cfg.splitBelow ''
set splitbelow set splitbelow
''} ''}