Open neilfranci opened 8 months ago
nvm, I just need to put the add "FloatBorder"
to extra_group or put
vim.api.nvim_set_hl(0, "FloatBorder", { bg = "None" }
command somewhere.
This means it's global, But I also want to have a way to enable border transparency for some plugins only, not the whole.
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
I'm using
xiyaowong/transparent.nvim
to enable transparently. Telescope works great without any extra config, Which-key has "WhichKeyBorder" but Mason doesn't have any as far as I know ðŸ˜Here how it looks with border = "single"
Expected behavior
Here is how Which-key looks with border transparent
Telescope plugin
Steps to reproduce
function M.config() require("transparent").setup({ -- Optional, you don't have to run setup. groups = { -- table: default groups 'Normal', 'NormalNC', 'Comment', 'Constant', 'Special', 'Identifier', 'Statement', 'PreProc', 'Type', 'Underlined', 'Todo', 'String', 'Function', 'Conditional', 'Repeat', 'Operator', 'Structure', 'LineNr', 'NonText', 'SignColumn', 'CursorLine', 'CursorLineNr', 'StatusLine', 'StatusLineNC', 'EndOfBuffer', }, extra_groups = { "NvimTreeNormal", "NormalFloat", "NvimTreeEndOfBuffer", "StatusLine", 'StatusLineNC', "WhichKeyBorder", }, -- table: additional groups that should be cleared exclude_groups = {}, -- table: groups you don't want to clear }) end return M
Neovim version (>= 0.7)
NVIM v0.9.5 Build type: RelWithDebInfo LuaJIT 2.1.1703942320 Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe /MD /Zi /O2 /Ob1 -W3 -wd4311 -wd4146 -DUNIT_TESTING -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -DMSWIN -DINCLUDE_GENERATED_DECLARATIONS -ID:/a/neovim/neovim/.deps/usr/include/luajit-2.1 -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include -ID:/a/neovim/neovim/build/cmake.config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include
system vimrc file: "$VIM\sysinit.vim" fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"
Operating system/version
Window 11
Healthcheck output
Screenshots
No response