SmiteshP / nvim-navbuddy

A simple popup display that provides breadcrumbs feature using LSP server
Apache License 2.0
762 stars 30 forks source link

wrap left and mid border config in style #63

Open wvjgsuhp opened 1 year ago

wvjgsuhp commented 1 year ago

This is for users to config borders for left and mid elements like this,

-- proposed
mid = {
  border = { "│", " ", "│", "│", "│", " ", "│", "│" },
}

instead of,

-- current
mid = {
  border = { style = { "│", " ", "│", "│", "│", " ", "│", "│" } },
}

Otherwise, it should be specified in the doc.

SmiteshP commented 1 year ago

Actually I didn't intend for the end users to use array's to set the border characters. And just use the strings "single" "double" etc etc to set the border and let navbuddy handler the rest.

wvjgsuhp commented 1 year ago

Got it. I found this while making something like this. image

Also, didn't notice these changes would break the setting with "single", "double", etc.