72 lines
2.7 KiB
Lua
72 lines
2.7 KiB
Lua
function onedarkpro()
|
|
require("onedarkpro").setup({
|
|
theme = "onedark_dark",
|
|
styles = { -- Choose from "bold,italic,underline"
|
|
strings = "NONE", -- Style that is applied to strings.
|
|
comments = "italic", -- Style that is applied to comments
|
|
keywords = "bold", -- Style that is applied to keywords
|
|
functions = "NONE", -- Style that is applied to functions
|
|
variables = "NONE", -- Style that is applied to variables
|
|
virtual_text = "NONE", -- Style that is applied to virtual text
|
|
},
|
|
options = {
|
|
bold = true, -- Use the colorscheme's opinionated bold styles?
|
|
italic = true, -- Use the colorscheme's opinionated italic styles?
|
|
underline = true, -- Use the colorscheme's opinionated underline styles?
|
|
undercurl = true, -- Use the colorscheme's opinionated undercurl styles?
|
|
cursorline = false, -- Use cursorline highlighting?
|
|
transparency = false, -- Use a transparent background?
|
|
terminal_colors = false, -- Use the colorscheme's colors for Neovim's :terminal?
|
|
window_unfocussed_color = true, -- When the window is out of focus, change the normal background?
|
|
}
|
|
})
|
|
vim.cmd([[colorscheme onedarkpro]])
|
|
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 = "italic", -- 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()
|