fix nvim: nordfox bg color
This commit is contained in:
parent
00807fc9e7
commit
c232b7b043
@ -5,15 +5,27 @@ return {
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
config = function()
|
||||||
|
-- 自訂配色
|
||||||
|
local palettes = {
|
||||||
|
nordfox = {
|
||||||
|
-- A specific style's value will be used over the `all`'s value
|
||||||
|
bg1 = "#2f3440", -- 故意改背景顏色為別的極相似色(因為當背景顏色和終端機背景顏色完全一致時,會觸發終端機透明的設定)
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
require("nightfox").setup({
|
require("nightfox").setup({
|
||||||
options = {
|
options = {
|
||||||
|
transparent = false, -- Disable setting background
|
||||||
|
terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
|
||||||
styles = {
|
styles = {
|
||||||
comments = "italic",
|
comments = "italic",
|
||||||
keywords = "bold",
|
keywords = "bold",
|
||||||
types = "italic,bold",
|
types = "italic,bold",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
palettes = palettes
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.cmd("colorscheme nordfox")
|
vim.cmd("colorscheme nordfox")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user