clear highlight only when not the default
slightly improve startup
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
if vim.g.colors_name then
|
||||
vim.api.nvim_command "highlight clear"
|
||||
end
|
||||
|
||||
vim.g.colors_name = "neobones"
|
||||
|
||||
package.loaded["neobones"] = nil
|
||||
require "lush"(require "neobones")
|
||||
require "lush"(require "neobones", { force_clean = false })
|
||||
|
||||
local p = require("neobones.palette")[vim.opt.background:get()]
|
||||
require("zenbones.term").apply_colors(p)
|
||||
|
||||
Reference in New Issue
Block a user