nvim/lua/colorschemes.lua

80 lines
2.9 KiB
Lua
Raw Normal View History

2022-08-17 08:28:47 -04:00
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
2022-08-17 08:28:47 -04:00
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
2022-08-17 08:31:01 -04:00
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",
},
2022-08-17 08:28:47 -04:00
-- inverse = { -- Inverse highlight for different types
-- match_paren = false,
-- visual = false,
-- search = false,
-- },
},
palettes = {},
specs = {},
groups = {},
})
vim.cmd("colorscheme carbonfox")
end
2022-09-29 11:53:25 -04:00
function catppuccin()
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
require("catppuccin").setup()
vim.cmd [[colorscheme catppuccin]]
end
2022-08-17 08:28:47 -04:00
function setup()
--vim.g.tokyonight_style = "night"
--vim.cmd([[colorscheme tokyonight]])
--vim.cmd([[colorscheme PaperColor]])
--vim.cmd([[colorscheme moonfly]])
2022-09-29 11:53:25 -04:00
--nightfox()
catppuccin()
2022-08-17 08:28:47 -04:00
end
setup()