fix nvim: nordfox bg color
This commit is contained in:
parent
00807fc9e7
commit
c232b7b043
@ -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,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user