mirror of
https://github.com/itme-brain/nvim.git
synced 2026-05-08 15:10:13 -04:00
fixed
This commit is contained in:
parent
23fb66df0b
commit
0270d78072
4 changed files with 22 additions and 10 deletions
|
|
@ -20,6 +20,9 @@ return {
|
|||
GitGutterChange = { bg = "NONE" },
|
||||
GitGutterAdd = { bg = "NONE" },
|
||||
GitGutterDelete = { bg = "NONE" },
|
||||
GitSignsAddNr = { bg = "NONE", fg = "#98c379" },
|
||||
GitSignsChangeNr = { bg = "NONE", fg = "#61afef" },
|
||||
GitSignsDeleteNr = { bg = "NONE", fg = "#e06c75" },
|
||||
SignColumn = { bg = "NONE" },
|
||||
TelescopeSelection = { bg = "Gray", fg = "Green", bold = true },
|
||||
TelescopePreviewMatch = { bg = "Yellow", fg = "Black" },
|
||||
|
|
|
|||
|
|
@ -2,10 +2,17 @@ return {
|
|||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
config = function()
|
||||
local hooks = require("ibl.hooks")
|
||||
|
||||
hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
|
||||
vim.api.nvim_set_hl(0, "IblIndent", { link = "Comment" })
|
||||
end)
|
||||
|
||||
require("ibl").setup({
|
||||
--indent = { char = "│" },
|
||||
--indent = { char = "⎸" },
|
||||
indent = { char = "┆" },
|
||||
indent = {
|
||||
char = "|",
|
||||
highlight = "IblIndent",
|
||||
},
|
||||
scope = {
|
||||
enabled = false
|
||||
},
|
||||
|
|
|
|||
|
|
@ -41,15 +41,15 @@ return {
|
|||
},
|
||||
})
|
||||
|
||||
-- Set up cursorline highlight for neo-tree (green text on dark bg)
|
||||
vim.api.nvim_set_hl(0, "NeoTreeCursorLine", { bg = "#313244", fg = "#a6e3a1" })
|
||||
-- Keep the selected entry readable without a solid row background.
|
||||
vim.api.nvim_set_hl(0, "NeoTreeCursorLine", { bg = "NONE", fg = "#a6e3a1" })
|
||||
|
||||
-- Apply highlight and re-apply on colorscheme change
|
||||
vim.api.nvim_create_autocmd({ "FileType", "ColorScheme" }, {
|
||||
pattern = { "neo-tree", "*" },
|
||||
callback = function(ev)
|
||||
if ev.event == "ColorScheme" then
|
||||
vim.api.nvim_set_hl(0, "NeoTreeCursorLine", { bg = "#313244", fg = "#a6e3a1" })
|
||||
vim.api.nvim_set_hl(0, "NeoTreeCursorLine", { bg = "NONE", fg = "#a6e3a1" })
|
||||
end
|
||||
local win = vim.api.nvim_get_current_win()
|
||||
local buf = vim.api.nvim_win_get_buf(win)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue