add- github theme
commented the atom inspired one dark for now, it is cool tho, so keeping it.
This commit is contained in:
parent
1a50da15c9
commit
660a4ac9ed
38
init.lua
38
init.lua
@ -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',
|
||||||
|
32
lua/custom/plugins/github-theme.lua
Normal file
32
lua/custom/plugins/github-theme.lua
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user