add nightfox theme
This commit is contained in:
parent
0f0e955b6e
commit
9f7728e357
2 changed files with 48 additions and 5 deletions
|
@ -1,8 +1,4 @@
|
||||||
function setup()
|
function onedarkpro()
|
||||||
--vim.g.tokyonight_style = "night"
|
|
||||||
--vim.cmd([[colorscheme tokyonight]])
|
|
||||||
--vim.cmd([[colorscheme PaperColor]])
|
|
||||||
--vim.cmd([[colorscheme moonfly]])
|
|
||||||
require("onedarkpro").setup({
|
require("onedarkpro").setup({
|
||||||
theme = "onedark_dark",
|
theme = "onedark_dark",
|
||||||
styles = { -- Choose from "bold,italic,underline"
|
styles = { -- Choose from "bold,italic,underline"
|
||||||
|
@ -27,4 +23,50 @@ function setup()
|
||||||
vim.cmd([[colorscheme onedarkpro]])
|
vim.cmd([[colorscheme onedarkpro]])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function nightfox()
|
||||||
|
local ok, nf = pcall(require, 'nightfox')
|
||||||
|
if not ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
nf.setup({
|
||||||
|
options = {
|
||||||
|
-- -- Compiled file's destination location
|
||||||
|
-- compile_path = vim.fn.stdpath("cache") .. "/nightfox",
|
||||||
|
-- compile_file_suffix = "_compiled", -- Compiled file suffix
|
||||||
|
-- transparent = false, -- Disable setting background
|
||||||
|
-- terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
|
||||||
|
-- dim_inactive = false, -- Non focused panes set to alternative background
|
||||||
|
-- styles = { -- Style to be applied to different syntax groups
|
||||||
|
-- comments = "NONE", -- Value is any valid attr-list value `:help attr-list`
|
||||||
|
-- conditionals = "NONE",
|
||||||
|
-- constants = "NONE",
|
||||||
|
-- functions = "NONE",
|
||||||
|
-- keywords = "NONE",
|
||||||
|
-- numbers = "NONE",
|
||||||
|
-- operators = "NONE",
|
||||||
|
-- strings = "NONE",
|
||||||
|
-- types = "NONE",
|
||||||
|
-- variables = "NONE",
|
||||||
|
-- },
|
||||||
|
-- inverse = { -- Inverse highlight for different types
|
||||||
|
-- match_paren = false,
|
||||||
|
-- visual = false,
|
||||||
|
-- search = false,
|
||||||
|
-- },
|
||||||
|
},
|
||||||
|
palettes = {},
|
||||||
|
specs = {},
|
||||||
|
groups = {},
|
||||||
|
})
|
||||||
|
vim.cmd("colorscheme carbonfox")
|
||||||
|
end
|
||||||
|
|
||||||
|
function setup()
|
||||||
|
--vim.g.tokyonight_style = "night"
|
||||||
|
--vim.cmd([[colorscheme tokyonight]])
|
||||||
|
--vim.cmd([[colorscheme PaperColor]])
|
||||||
|
--vim.cmd([[colorscheme moonfly]])
|
||||||
|
nightfox()
|
||||||
|
end
|
||||||
|
|
||||||
setup()
|
setup()
|
||||||
|
|
|
@ -16,5 +16,6 @@ packer.startup(
|
||||||
use 'bluz71/vim-moonfly-colors'
|
use 'bluz71/vim-moonfly-colors'
|
||||||
use 'NLKNguyen/papercolor-theme'
|
use 'NLKNguyen/papercolor-theme'
|
||||||
use 'olimorris/onedarkpro.nvim'
|
use 'olimorris/onedarkpro.nvim'
|
||||||
|
use 'EdenEast/nightfox.nvim'
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue