Replies: 11 comments 4 replies
-
1, 2 and 3 should be easy ones. I can probably "fix" them soon.
-- Default highlights (must be a valid :highlight)
highlight = {
current = "StatusLine", -- default Number
hidden = "ModeMsg", -- default Statement
split = "StatusLine", -- default Function
alternate = "WarningMsg", -- default String
unlisted = 'Error', -- default ErrorMsg
filename = 'StatusLine', -- not present in mainline JABS, default nil
}, |
Beta Was this translation helpful? Give feedback.
-
Update expJABS, I think 1, 2 and 3 are "fixed". title -> config disable_title = true |
Beta Was this translation helpful? Give feedback.
-
Thank you for the very fast action. That was surprising. However now JABS doesn't play well with the extension sitiom/nvim-numbertoggle. About the colors: here is a comparison with untouched colors from mainline JABS (top) and expJABS(bottom) with a popular colorscheme gruvbox-material. |
Beta Was this translation helpful? Give feedback.
-
Concerning the relativenumber issue: I don't know. I just set And the background issue similiar: I double checked the highlighting calls and they are identical to the mainline JABS calls. I don't have any idea about it at the moment. If you have any further ideas how to tackle this let me know. |
Beta Was this translation helpful? Give feedback.
-
hah! I just stumble over the background issue while reading your comment again: -- hmm for some reason this line is neccessary to assign
-- the right highlighting to a minimal floating win....
vim.wo.winhl = 'Normal:Pmenu' I just removed the line and it seems to be fixed (and I couldn't find any other issue, don't know why I put that line there), update expJABS and I assume your fine. |
Beta Was this translation helpful? Give feedback.
-
Umm... I'm sorry to bother you again, but I think the "hidden" icon is lost somehow. You can actually see it in my screenshot too. It is supposed to be the "eye". I was looking at the code and you are missing
in I am actually not a programmer, otherwise I would have done everything myself xD |
Beta Was this translation helpful? Give feedback.
-
The hidden issue: Yeah, that was more or less deliberate, because the hidden flag did not make a lot sense to me. The vim docs say:
So all buffers that are not open are hidden. That would mean to put a symbol in front of every file. Furthermore the other flags seemed more important to me and if we would add a hidden symbol we would have to display multiple symbols..... therefor no hidden symbol. Does that make sense to you? Does the hidden flag is for some reason (more) important to you? |
Beta Was this translation helpful? Give feedback.
-
Adding the following to my config makes the current file red over here highlight = {
current = "Error",
}, |
Beta Was this translation helpful? Give feedback.
-
Reverted the relativenumber thing and updated the readme config (removed symbol.hidden). So I think we sorted everything out, right? |
Beta Was this translation helpful? Give feedback.
-
Here is how i fixed it:
Again, I am not a programmer, but this fixes it. You can probably do better. |
Beta Was this translation helpful? Give feedback.
-
Fixed too ;) Thx for finding all these little issues! Btw: Concerning "bringing it back to mainline". As you might have noticed I created an issue / discussion in the mainline JABS repo and ask how the two forks could co-exists and there was no reply for several month, so....... |
Beta Was this translation helpful? Give feedback.
-
I really like this cute little plugin. I was having a problem with bugs and then found your fork, which fixes it. But you did some changes that are also suboptimal.
Here are my thoughts on feature requests and some of the things that can be improved:
It would be very easy to add a hotkey (default "t") to open the buffer in a tab. That would be done with
tab sb %s
inopenOptions
.The preview window inherits my
vim.opt.relativenumber = true
setting, which isn't very useful in a preview. It would be nice if it was sensitive to this and revert to absolute numbers. Or at least give an option to disable numbers.The title, to me, feels like an other entry in the list, at least subconsciously, which is distracting. It would be nice if it could be disabled. Especially now with the new styling of the plugin. Speaking of which:
Something happened to the colors in this fork. With certain colorschemes there is a difference between the background of where there are entries and the one where there aren't. It does not look as uniform now... I do have custom highlighting groups set to Pmenu though, but I didn't have a problem with mainline JABS. The title also looks like the entries even more now.
That being said I would like to continue using your fork. I hope you don't drop this project. Or merge with mainline.
Beta Was this translation helpful? Give feedback.
All reactions