Skip to content

Commit 6c8be71

Browse files
author
Filipe Cancelinha
committed
fix: colorscheme naming
1 parent 9860ffe commit 6c8be71

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
File renamed without changes.
File renamed without changes.

lua/nordern/utils.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
local utils = {}
22

3-
local function hexToRgb(color)
4-
color = string.lower(color)
5-
return { tonumber(color:sub(2, 3), 16), tonumber(color:sub(4, 5), 16), tonumber(color:sub(6, 7), 16) }
6-
end
73

84
local function semantic_token_override()
95
vim.api.nvim_create_autocmd("LspTokenUpdate", {
@@ -34,7 +30,11 @@ function utils.preload()
3430
vim.o.termguicolors = true
3531
vim.o.background = "dark"
3632
vim.g.colors_name = "nordern"
37-
vim.cmd.colorscheme("nordern")
33+
end
34+
35+
local function hexToRgb(color)
36+
color = string.lower(color)
37+
return { tonumber(color:sub(2, 3), 16), tonumber(color:sub(4, 5), 16), tonumber(color:sub(6, 7), 16) }
3838
end
3939

4040
function utils.blend(foreground, background, alpha)

0 commit comments

Comments
 (0)