-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tidy and unified UI #698
Comments
This comment was marked as outdated.
This comment was marked as outdated.
@Jint-lzxy 's #676 PR should alleviate some of your issues. It's mostly from upstream, so it needs more time to finish it. |
This comment was marked as outdated.
This comment was marked as outdated.
ys, of course u can send pr about 2, 3, 4 first! |
This comment was marked as outdated.
This comment was marked as outdated.
@huge-pancake Many thanks for your contribution 👍 But due to the complexity of #676 (most highlight groups and actual hex codes for those antonomasias [e.g., Here is a sneak peak of Telescope's new UI (based on your PR): |
This comment was marked as outdated.
This comment was marked as outdated.
The following is the concept I plan to adopt:
I'm not very supportive of allowing users to customize such option b/c it is difficult to manage the borders of all plugins using the same interface. Additionally, for some windows users may not want to have borders enabled, while for some other they may wish they could have different colors. However, the way(s) to configure color- and border-style for a specific window differentiates from plugins to plugins (API differences), plus the fact that those values must be supplied during initialization (using border-character or style names) - this ultimately leads to a lot of work while still making it hard to meet all the needs. IMHO If users really want to change these appearances, they should make changes to a specific config file themselves.
Hmm AFAIK this is impossible with nvim 0.9, as it requires low-level API support (providing an option to set window-specific
Actually catppuccin provides such option (dim_inactive), but this was not adopted due to several design defects. IMO now it's time to introduce this back to the config 👍 nvimdots/lua/modules/configs/ui/catppuccin.lua Lines 7 to 13 in 3be4c9b
💯💯 Agreed. In fact, I took heavy inspiration from NvChad's UI design (as a stepping-stone for further configuration) :) |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
i think it's better to discuss the following polls or issues under the pr, so we don't need to check two places 😹 |
This comment was marked as outdated.
This comment was marked as outdated.
aha, sorry about that. i checked on my phone, so i thought the git diffs are the diagnostics lol |
Progress
|
This comment was marked as resolved.
This comment was marked as resolved.
IMO no need to add filename to |
Unsure styles for Ref |
This comment was marked as resolved.
This comment was marked as resolved.
Maybe it's better to swap the position of lsp servers and project dir. Because not all of files have lsp support, it will be more distinguishable. |
I like it too!
LGTM! |
ok for me. |
Maybe move both LSP servers and diagnostics to the center, move project directory and Python environment to the right like this? (the Python environment can be displayed as well, though I don't use python so that it's not in the image) Also, what about changing |
LGTM. |
💯 Agreed! I mean we can classify those components as: -------------------------------------------------------------------------------
|Normal|main|<ft-icons>| LSP~ |~/.config/nvim|<multi-sec>|50:1|
a b c (center) x y z
-------------------------------------------------------------------------------
| | | | | | |
| | | LSP-related stuffs |-- workspace | |
| | | (might be empty) fileinfo -----| |
| | |------ edit status (RO, [+]...) |
| |----- git editor info ----|
|---- edit modes The reason why LSP is placed in the center is b/c there'll be no missing components on the left- and right-hand sides under those unsupported file types.
Agreed |
FWIW we should first classify those components and then discuss what might be filled in for each section. |
* Why I moved Git diff to section c, or try some other solutions. * Config |
It's only for myself as I set the |
LGTM! @volpan It would be great if you could push a commit for this! I will make several minor adjustments, and if everything looks good, we could then propose a new major release 👍 btw, thanks very much for sticking with us! :D |
Indeed, tons of changes have been pushed and a release is required 👍 |
Just wondering how can I sync this color scheme to every palette because I rebuilt the whole color scheme. (It can't work even with Catppuccin-Latte/...) What about making a plugin like NvChad/base64 for united user experience between different color schemes? Or you may give some other advises. |
@volpan What u need is a function for ur custom theme and have that registered under --- lualine.lua
return function()
----------- other configs -----------
local custom_theme = function()
local cp = require("catppuccin.palettes").get_palette()
return {
normal = {
a = { bg = cp.lavender, fg = cp.mantle, gui = "bold" },
b = { bg = cp.surface1, fg = cp.lavender },
c = { bg = cp.mantle, fg = cp.text },
}
-- More configs...
}
end
vim.api.nvim_create_autocmd("ColorScheme", {
group = vim.api.nvim_create_augroup("LualineColorScheme", { clear = true }),
pattern = "*",
callback = function()
require("lualine").setup({ options = { theme = custom_theme() } })
end,
})
----------- other configs -----------
require("lualine").setup({
options = {
theme = custom_theme(),
},
-- More configs...
})
end
|
Got it, will a PR soon (the structure may be lengthy and jumbled, you probably need to modify it a lot 🤔 ) EDIT: at #833 |
Straightly go to this comment.
Feature description
The highlights for cmp, nvim-tree, wilder and indent-blankline now is untidy and always catch my focus when I should focus on my code.
Additional information
I had already modified the highlights for them.
So I'm here to get to know if I could give a PR.
The text was updated successfully, but these errors were encountered: