Skip to content
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

chore: export 'get_groups' #318

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lua/gruvbox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ local function get_colors()
return color_groups[bg]
end

local function get_groups()
function Gruvbox.get_groups()
local colors = get_colors()
local config = Gruvbox.config

Expand Down Expand Up @@ -1112,7 +1112,7 @@ Gruvbox.load = function()
vim.g.colors_name = "gruvbox"
vim.o.termguicolors = true

local groups = get_groups()
local groups = Gruvbox.get_groups()

-- add highlights
for group, settings in pairs(groups) do
Expand Down