Change option for preview window with preview="main"
#1989
Replies: 1 comment 1 reply
-
opts = {
picker = {
sources = {
lines = {
win = {
preview = {
wo = {
cursorlineopt = 'both', |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kunzaatko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to change the window option
cursorlineopt
of thepicker.main
widow in thelines
picker, but it is set only after the close of the picker.The problem I have is that by default the option I use for
cursorlineopt
is"number"
which is not very noticable in the picker. I tried to modify options to the picker to change that to"line"
on the launch of thelines
picker, but the option is set only after the closing of the picker window.This is what I have currently which has the issue stated above:
Beta Was this translation helpful? Give feedback.
All reactions