galaxyline refactor

This commit is contained in:
christianchiarulli 2021-07-06 11:55:29 -04:00
parent 020fe412c1
commit ec868f92cc

View file

@ -26,51 +26,6 @@ local colors = {
info_yellow = "#FFCC66", info_yellow = "#FFCC66",
} }
-- galaxyline themes for Gruvbox and NVCode.
-- Uncomment and change 'colors_colorschemeName'
-- to 'colors' to enable.
-- Colors for Gruvbox
-- local colors_gruvbox = {
-- bg = '#32302F',
-- yellow = '#FABD2F',
-- dark_yellow = '#D79921',
-- cyan = '#689D6A',
-- green = '#608B4E',
-- light_green = '#B8BB26',
-- string_orange = '#D65D0E',
-- orange = '#FE8019',
-- purple = '#B16286',
-- magenta = '#D3869B',
-- grey = '#A89984',
-- blue = '#458588',
-- -- vivid_blue = '#4FC1FF',
-- light_blue = '#83A598',
-- red = '#FB4834',
-- error_red = '#CC241D',
-- info_yellow = '#D79921'
-- }
-- colors for NVCode theme (very minimal changes)
-- local colors_nvcode = {
-- bg = '#2E2E2E',
-- yellow = '#DCDCAA',
-- dark_yellow = '#D7BA7D',
-- cyan = '#4EC9B0',
-- green = '#608B4E',
-- light_green = '#B5CEA8',
-- string_orange = '#CE9178',
-- orange = '#FF8800',
-- purple = '#C586C0',
-- magenta = '#D16D9E',
-- grey = '#729CB3',
-- blue = '#569CD6',
-- vivid_blue = '#4FC1FF',
-- light_blue = '#9CDCFE',
-- red = '#D16969',
-- error_red = '#F44747',
-- info_yellow = '#FFCC66'
-- }
local condition = require "galaxyline.condition" local condition = require "galaxyline.condition"
local gls = gl.section local gls = gl.section
gl.short_line_list = { "NvimTree", "vista", "dbui", "packer" } gl.short_line_list = { "NvimTree", "vista", "dbui", "packer" }
@ -105,7 +60,6 @@ table.insert(gls.left, {
return "" return ""
end, end,
highlight = "StatusLineNC", highlight = "StatusLineNC",
-- highlight = {colors.red, colors.bg}
}, },
}) })
-- print(vim.fn.getbufvar(0, 'ts')) -- print(vim.fn.getbufvar(0, 'ts'))