diff --git a/dot_config/exact_nvim/exact_lua/exact_plugins/nightfox.lua b/dot_config/exact_nvim/exact_lua/exact_plugins/nightfox.lua index a178aff..e324752 100644 --- a/dot_config/exact_nvim/exact_lua/exact_plugins/nightfox.lua +++ b/dot_config/exact_nvim/exact_lua/exact_plugins/nightfox.lua @@ -5,15 +5,27 @@ return { lazy = false, priority = 1000, config = function() + -- 自訂配色 + local palettes = { + nordfox = { + -- A specific style's value will be used over the `all`'s value + bg1 = "#2f3440", -- 故意改背景顏色為別的極相似色(因為當背景顏色和終端機背景顏色完全一致時,會觸發終端機透明的設定) + }, + } + require("nightfox").setup({ options = { + transparent = false, -- Disable setting background + terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal` styles = { comments = "italic", keywords = "bold", types = "italic,bold", }, }, + palettes = palettes }) + vim.cmd("colorscheme nordfox") end, },