Closed JosefLitos closed 1 year ago
For files, LS_COLORS and the style defined in xplr config.node_types will override ui style.
I haven't changed anything in the node_types
section, though. The defaults look to me as nothing special is being set. Although I am not sure if that is what you meant, or if that was just file specific. Also, what does file
refer to - filename being displayed?
Right... If you can post a screenshot marking the regions with issue, would be great for debugging.
Pushed some fixes to https://github.com/sayanarijit/xplr/commit/d01b6f0cd4bc380836958ddef91d74705e4ea7e5, though, I'm not sure if this will fix everything. Since the priority for these styles are lower than per file specific style ($LS_COLORS and node_types).
It should be obvious when you apply the provided configuration - nothing is magenta although multiple things should be.
I added "Underline" to the selection to emphasize that it truly ignores the entire style table. Anyway, here is the picture:
Try these changes with
LS_COLORS="" xplr -C styles.lua
Everything works with latest commit, except the table.tree
styles. (I updated the config to include those a little later)
Also, this is probably intentional, but could the tree chars be rendered as a separate column? currently it disappears when fmt_general_table_row_cols_1
is not used (not a problem - everyone needs to know the filenames, but just an idea). That way filename column style wouldn't be applied to the tree marks.
~Good point. Let's see how to do it.~
Actually, a separate column won't probably work, since it'd be too far in a wide screen.
BTW, we're going to port the default Lua functions to the Rust side as built-in defaults for performance. So, let's wait for the new implementation.
Sounds great. Thanks for the quick responses.
Closing this wrt https://github.com/sayanarijit/xplr/issues/641
I tried to customize the colors to match my NvimTree looks, but it seems that some options ignore their style setting.
try: