Questions related to border options #248
-
Hi @MunifTanjim !
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You might just want to use
If you use If you want the border text to have the same color as border, you can replace https://github.com/SmiteshP/nvim-navbuddy/blob/b043eef7a42aa9d13618e59eb6a13ebd82ee631a/lua/nvim-navbuddy/display.lua#L244 with: bottom = NuiText("["..obj.lsp_name.."]", "FloatBorder"), |
Beta Was this translation helpful? Give feedback.
-
You need to do this because you're passing the return value to But for the other popups you're passing the return value to
Passing the table as per documentation won't cause any error. You just need to adjust your code to make it consistent. Always pass the return value to |
Beta Was this translation helpful? Give feedback.
-
bottom = NuiText("["..obj.lsp_name.."]", "FloatBorder"), This worked, Thanks 👍🏽
Oh right! My bad 🤦♂️ |
Beta Was this translation helpful? Give feedback.
You might just want to use
"Normal:Normal,FloatBorder:NavbuddyFloatBorder"
aswinhighlight
for all the popups.FloatBorder
is used for popup border.Normal
is used for the popup body.If you use
"Normal:NavbuddyFloatBorder,FloatBorder:NavbuddyFloatBorder"
, then highlight for popup's body and border become the same.If you want the border text to have the same color as border, you can replace https://github.com/SmiteshP/nvim-navbuddy/blob/b043ee…