Comments (4)
gruvbox.nvim
is a colorscheme and it does not configure the floating window. If you are using language servers from lspconfig
, you can set up borders in your own config like this:
local lsp = vim.lsp
vim.api.nvim_create_autocmd("LspAttach", {
group = vim.api.nvim_create_augroup("UserLspConfig", {}),
callback = function(event)
lsp.handlers["textDocument/hover"] = lsp.with(lsp.handlers.hover, { border = "rounded" })
lsp.handlers["textDocument/signatureHelp"] = lsp.with(lsp.handlers.signature_help, { border = "rounded" })
local opts = { buffer = event.buf }
local map = vim.keymap.set
local lsp_buf = lsp.buf
map("n", "K", lsp_buf.hover, opts)
map("n", "gs", lsp_buf.signature_help, opts)
-- more keymaps
end,
})
from gruvbox.nvim.
@xudyang1 this issue is related to all popup windows.
Here is how which-key
looks without and with transparent mode
from gruvbox.nvim.
@timsofteng For whichkey
, you can set up border style by calling require('which-key').setup({ window = { border = "single" })
.
Generally, if you want to configure all these plugin popup windows, you have to refer to the plugin's github page. Most configuration options are available in the README, so updating your config may not take too long.
Again, gruvbox.nvim
is only a colorscheme and it does not have the capability to set up the border style (you can find details about border styles from :help nvim_open_win()
). gruvbox.nvim
only sets some plugins' border highlight or links them into existing highlight groups (see :h 'highlight'
, :h highlight-groups
, and :h :highlight-link
).
If you want to customize the popup border:
-
enable the plugin popup window border in the your config
-
then, if you want to change the border highlight (e.g., color), you can search for the highlight group of the plugin popup window border. Next, override it in
gruvbox.nvim
's config. For example:
require("gruvbox").setup({
overrides = {
LspInfoBorder = {
link = "FloatBorder",
},
}
})
from gruvbox.nvim.
hey @timsofteng not sure if that's a bug, and honestly I don't use transparent mode so I am a little biased on how to process with this. If you think you have a good suggestion using an override that can be the default color please open a PR, add some screenshots and we can discuss. How about that?
from gruvbox.nvim.
Related Issues (20)
- Background looks inconsistent in some parts HOT 3
- Expose palette colors HOT 8
- Default punctuation colour has changed HOT 4
- @text.todo.checked.markdown is not visible if LSP is enabled
- Neo-tree confirmation header dialog look darker in Gruvbox dark
- Upcoming TS highlight group changes HOT 9
- Propose color DiffText HOT 1
- [BUG] Floating windows are not discernible when dim_inactive = true
- [BUG] Overriding with `bold = false` has no effect (while `bold = true` overrides)
- [BUG] Elixir modules highlighted as white HOT 2
- [BUG] TreeSitter compatability for LaTeX environments broken HOT 1
- [FEATURE] Material color palette HOT 2
- [BUG] Strikethrough markup not being highlighted/rendered with strikethrough
- [BUG] Colors of parenthesis in neovim 0.10.0 is pure white instead of themed HOT 2
- Add option to hide the end of buffer icon (~)
- [BUG] Update gruvbox and vsplit color is bright white (neovim 10) HOT 2
- [BUG] Diff `+`/`-` are colored as punctuation (i.e: grey) instead of addition/deletions HOT 2
- [BUG] Python brackets and other special punctuation/operators are white/grey HOT 1
- [BUG] lightline.vim support not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gruvbox.nvim.