aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-05-05 21:24:26 -0500
committerToby Vincent <tobyv13@gmail.com>2022-05-05 21:24:26 -0500
commit07f1ef6ea6ed37b7f1b7068c183e9192eb495ac9 (patch)
tree07c6b99c03b0a566d110cfd2592fcee04f50a862 /nvim/.config
parenta82d567bb3c8dcaf7fc572b56d0c7f5563947828 (diff)
fix: match lualine theme with tmux theme (true gruvbox)
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/lua/options.lua3
-rw-r--r--nvim/.config/nvim/lua/plugins/lualine.lua13
2 files changed, 4 insertions, 12 deletions
diff --git a/nvim/.config/nvim/lua/options.lua b/nvim/.config/nvim/lua/options.lua
index c4a32f8..e84abde 100644
--- a/nvim/.config/nvim/lua/options.lua
+++ b/nvim/.config/nvim/lua/options.lua
@@ -4,11 +4,10 @@ local exec = vim.api.nvim_exec -- execute Vimscript
g.mapleader = " "
+vim.g.gruvbox_colors = { bg_statusline = "#3c3836" }
vim.g.gruvbox_flat_style = "hard"
-vim.g.gruvbox_theme = { TabLineSel = { bg = "orange" } }
vim.cmd([[colorscheme gruvbox-flat]])
-
g.tex_flavor = "latex"
-- global options
diff --git a/nvim/.config/nvim/lua/plugins/lualine.lua b/nvim/.config/nvim/lua/plugins/lualine.lua
index 2f4172a..369ccf6 100644
--- a/nvim/.config/nvim/lua/plugins/lualine.lua
+++ b/nvim/.config/nvim/lua/plugins/lualine.lua
@@ -3,14 +3,6 @@ if not status_ok then
return
end
-local custom_theme = require("gruvbox-flat.lualine.themes.gruvbox_flat")
-local gruvbox_config = require("gruvbox.config")
-local colors = require("gruvbox.colors").setup(gruvbox_config)
-
-custom_theme.normal.a.bg = colors.orange
-custom_theme.normal.b.fg = colors.orange
-custom_theme.inactive.a.fg = colors.orange
-
local to_char = function(str)
return str:sub(1, 1)
end
@@ -33,17 +25,18 @@ local hide_in_width = function()
end
lualine.setup({
+
options = {
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = { "alpha" },
},
sections = {
- lualine_a = { "mode", fmt = to_char },
+ lualine_a = { { "mode", fmt = to_char } },
lualine_c = {
{ nvim_gps, cond = hide_in_width },
},
},
tabline = {},
- extensions = { "fzf", "fugitive", "toggleterm", "NeoTree" },
+ extensions = { "quickfix", "fzf", "fugitive", "toggleterm", "neo-tree" },
})