add- github theme

commented the atom inspired one dark for now,
it is cool tho, so keeping it.
pull/190/head
alinademi 2 years ago
parent 1a50da15c9
commit 660a4ac9ed

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

@ -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
}
Loading…
Cancel
Save