add- github theme

commented the atom inspired one dark for now,
it is cool tho, so keeping it.
This commit is contained in:
alinademi 2023-02-20 23:26:49 -08:00
parent 1a50da15c9
commit 660a4ac9ed
2 changed files with 51 additions and 19 deletions

View File

@ -112,26 +112,26 @@ require('lazy').setup({
}, },
}, },
{ -- Theme inspired by Atom -- { -- Theme inspired by Atom
'navarasu/onedark.nvim', -- 'navarasu/onedark.nvim',
priority = 1000, -- priority = 1000,
config = function() -- config = function()
vim.cmd.colorscheme 'onedark' -- vim.cmd.colorscheme 'onedark'
end, -- end,
}, -- },
{ -- Set lualine as statusline -- { -- Set lualine as statusline
'nvim-lualine/lualine.nvim', -- 'nvim-lualine/lualine.nvim',
-- See `:help lualine.txt` -- -- See `:help lualine.txt`
opts = { -- opts = {
options = { -- options = {
icons_enabled = false, -- icons_enabled = false,
theme = 'onedark', -- theme = 'onedark',
component_separators = '|', -- component_separators = '|',
section_separators = '', -- section_separators = '',
}, -- },
}, -- },
}, -- },
{ -- Add indentation guides even on blank lines { -- Add indentation guides even on blank lines
'lukas-reineke/indent-blankline.nvim', 'lukas-reineke/indent-blankline.nvim',

View File

@ -0,0 +1,32 @@
-- including github-nvim-theme.
-- currently the latest stable tag is v0.0.7
-- https://github.com/projekt0n/github-nvim-theme
return {
"projekt0n/github-nvim-theme",
config = function()
require("github-theme").setup({
theme_style = "dark_default",
comment_style = "italic",
keyword_style = "NONE",
function_style = "NONE",
variable_style = "NONE",
sidebars = {"qf", "vista_kind", "terminal", "packer"},
-- Change the "hint" color to the "orange" color, and make the "error" color bright red
colors = {hint = "orange", error = "#ff0000"},
-- Overwrite the highlight groups
overrides = function(c)
return {
htmlTag = {fg = c.red, bg = "#282c34", sp = c.hint, style = "underline"},
DiagnosticHint = {link = "LspDiagnosticsDefaultHint"},
-- this will remove the highlight groups
TSField = {},
}
end
})
end,
setup = function()
require("lazy").loader("github-nvim-theme")
end
}