style(colorscheme.lua): add missing newline after SetupWindowPreferences function

feat(colorscheme.lua): add setting for NormalNC highlight group to maintain consistency
perf(colorscheme.lua): improve logging by using vim.notify instead of console.log
This commit is contained in:
David Ibia
2024-07-30 23:50:07 +01:00
parent 318c2a2421
commit 5f86592ed4

View File

@@ -1,6 +1,7 @@
local function SetupWindowPreferences() local function SetupWindowPreferences()
vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
end end
@@ -34,7 +35,7 @@ local function SyncWezTerm()
assert(file) assert(file)
file:write(colorscheme) file:write(colorscheme)
file:close() file:close()
-- vim.notify("Setting WezTerm color scheme to " .. colorscheme, vim.log.levels.INFO) vim.notify("Setting WezTerm color scheme to " .. colorscheme, vim.log.levels.INFO)
end, end,
}) })
end end