diff --git a/init.lua b/init.lua index 9cb7d238..9266e086 100644 --- a/init.lua +++ b/init.lua @@ -112,26 +112,26 @@ require('lazy').setup({ }, }, - { -- Theme inspired by Atom - 'navarasu/onedark.nvim', - priority = 1000, - config = function() - vim.cmd.colorscheme 'onedark' - end, - }, + -- { -- 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 = '', - }, - }, - }, + -- { -- 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', diff --git a/lua/custom/plugins/github-theme.lua b/lua/custom/plugins/github-theme.lua new file mode 100644 index 00000000..02ee9116 --- /dev/null +++ b/lua/custom/plugins/github-theme.lua @@ -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 +} \ No newline at end of file