Remove gitsigns from barbar due to highlight issues

Some misc config tweaks
This commit is contained in:
Evie Litherland-Smith 2023-05-25 12:43:50 +01:00
parent b73d600dfe
commit 3acdc1ff73
4 changed files with 5 additions and 10 deletions

View file

@ -43,8 +43,6 @@ require("lazy").setup {
-- Set vim options -- Set vim options
vim.cmd [[colorscheme tokyonight]] vim.cmd [[colorscheme tokyonight]]
vim.opt.laststatus = 3
vim.opt.showtabline = 1
vim.opt.shiftwidth = 4 vim.opt.shiftwidth = 4
vim.opt.expandtab = true vim.opt.expandtab = true
vim.opt.number = true vim.opt.number = true

View file

@ -24,23 +24,17 @@ return {
auto_hide = false, auto_hide = false,
tabpages = true, tabpages = true,
hide = { extensions = true }, hide = { extensions = true },
highlight_alternate = false,
highlight_inactive_file_icons = false,
highlight_visible = false,
modified = { button = "" }, modified = { button = "" },
pinned = { button = "", filename = true, separator = { right = "" } }, pinned = { button = "", filename = true, separator = { right = "" } },
icons = { icons = {
separator = { left = "", right = "|" },
button = "",
diagnostics = { diagnostics = {
[vim.diagnostic.severity.ERROR] = { enabled = true, icon = require("ui.lsp_icons").Error }, [vim.diagnostic.severity.ERROR] = { enabled = true, icon = require("ui.lsp_icons").Error },
[vim.diagnostic.severity.WARN] = { enabled = true, icon = require("ui.lsp_icons").Warn }, [vim.diagnostic.severity.WARN] = { enabled = true, icon = require("ui.lsp_icons").Warn },
[vim.diagnostic.severity.INFO] = { enabled = true, icon = require("ui.lsp_icons").Hint }, [vim.diagnostic.severity.INFO] = { enabled = true, icon = require("ui.lsp_icons").Hint },
[vim.diagnostic.severity.HINT] = { enabled = true, icon = require("ui.lsp_icons").Info }, [vim.diagnostic.severity.HINT] = { enabled = true, icon = require("ui.lsp_icons").Info },
}, },
gitsigns = {
added = { enabled = true, icon = "+" },
changed = { enabled = true, icon = "~" },
deleted = { enabled = true, icon = "-" },
},
filetype = { filetype = {
custom_colors = false, custom_colors = false,
enabled = true, enabled = true,

View file

@ -9,6 +9,7 @@ return {
transparent_background = true, transparent_background = true,
integrations = { integrations = {
alpha = true, alpha = true,
barbar = true,
gitsigns = true, gitsigns = true,
hop = true, hop = true,
indent_blankline = { enabled = true, colored_indent_levels = true }, indent_blankline = { enabled = true, colored_indent_levels = true },

View file

@ -3,7 +3,9 @@ return {
lazy = true, lazy = true,
config = true, config = true,
opts = { opts = {
style = "storm",
transparent = true, transparent = true,
terminal_colors = true,
styles = { sidebars = "transparent", floats = "transparent" }, styles = { sidebars = "transparent", floats = "transparent" },
}, },
} }