-
Notifications
You must be signed in to change notification settings - Fork 26
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
How to set the background transparent of neo-tree and lualine #36
Comments
You should find their highlights, such as |
@yuWorm did you ever figure this out? |
For extra_groups = {
"NeoTreeCursorLine",
"NeoTreeDimText",
"NeoTreeDirectoryIcon",
"NeoTreeDirectoryName",
"NeoTreeDotfile",
"NeoTreeFileIcon",
"NeoTreeFileName",
"NeoTreeFileNameOpene",
"NeoTreeFilterTerm",
"NeoTreeFloatBorder",
"NeoTreeFloatTitle",
"NeoTreeTitleBar",
"NeoTreeGitAdded",
"NeoTreeGitConflict",
"NeoTreeGitDeleted",
"NeoTreeGitIgnored",
"NeoTreeGitModified",
"NeoTreeGitUnstaged",
"NeoTreeGitUntracke",
"NeoTreeGitStaged",
"NeoTreeHiddenByName",
"NeoTreeIndentMarker",
"NeoTreeExpander",
"NeoTreeNormal",
"NeoTreeNormalNC",
"NeoTreeSignColumn",
"NeoTreeStatusLine",
"NeoTreeStatusLineNC",
"NeoTreeVertSplit",
"NeoTreeWinSeparator",
"NeoTreeEndOfBuffer",
"NeoTreeRootName",
"NeoTreeSymbolicLinkTarget",
"NeoTreeTitleBar",
"NeoTreeWindowsHidden",
}, |
What does the rest of the file look like I'm pretty new to neovim I can't get anything to be transparent besides the background |
@NeoPrint3D I copied above and it worked just fine for me |
has anyone found the correct groups for lualine? |
looking for same. rn the workaoround m using is local theme = function()
local colors = {
darkgray = "#16161d",
gray = "#727169",
innerbg = nil,
outerbg = "#16161D",
normal = "#7e9cd8",
insert = "#98bb6c",
visual = "#ffa066",
replace = "#e46876",
command = "#e6c384",
}
return {
inactive = {
a = { fg = colors.gray, bg = colors.outerbg, gui = "bold" },
b = { fg = colors.gray, bg = colors.outerbg },
c = { fg = colors.gray, bg = colors.innerbg },
},
visual = {
a = { fg = colors.darkgray, bg = colors.visual, gui = "bold" },
b = { fg = colors.gray, bg = colors.outerbg },
c = { fg = colors.gray, bg = colors.innerbg },
},
replace = {
a = { fg = colors.darkgray, bg = colors.replace, gui = "bold" },
b = { fg = colors.gray, bg = colors.outerbg },
c = { fg = colors.gray, bg = colors.innerbg },
},
normal = {
a = { fg = colors.darkgray, bg = colors.normal, gui = "bold" },
b = { fg = colors.gray, bg = colors.outerbg },
c = { fg = colors.gray, bg = colors.innerbg },
},
insert = {
a = { fg = colors.darkgray, bg = colors.insert, gui = "bold" },
b = { fg = colors.gray, bg = colors.outerbg },
c = { fg = colors.gray, bg = colors.innerbg },
},
command = {
a = { fg = colors.darkgray, bg = colors.command, gui = "bold" },
b = { fg = colors.gray, bg = colors.outerbg },
c = { fg = colors.gray, bg = colors.innerbg },
},
}
end```
then setting theme in lualine opts
```lua
require("lualine").setup({
options = {
theme = theme,
}
}) |
@niksingh710 You can use |
works like charm |
If you use this plug-in, everything else is transparent, but neo-tree and lualine cannot be transparent. I saw that your demo seems to use neo-tree, so I would like to ask how you set it up.
The text was updated successfully, but these errors were encountered: