This commit is contained in:
2025-09-27 18:18:37 -04:00
parent 055c330f29
commit 244775f689
2276 changed files with 422897 additions and 30 deletions

View File

@@ -0,0 +1,64 @@
return {
{
"projekt0n/github-nvim-theme",
name = "github-theme",
lazy = false, -- load this during startup if it is your main colorscheme
priority = 1000, -- load this before all the other start plugins
-- options = { transparent = true },
config = function()
require("github-theme").setup({
terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
dim_inactive = true,
styles = { -- Style to be applied to different syntax groups
comments = "italic", -- Keep comments italic - this makes sense
functions = "bold",
keywords = "NONE", -- Remove italic from keywords
variables = "NONE",
conditionals = "bold", -- Keep conditionals bold for control flow
constants = "bold",
numbers = "NONE",
operators = "NONE",
strings = "NONE", -- Remove italic from strings
types = "NONE", -- Remove italic from types
},
inverse = { -- Inverse highlight for different types
match_paren = true,
visual = false,
search = false,
},
darken = { -- Darken floating windows and sidebar-like windows
floats = true,
sidebars = {
enable = true,
list = {}, -- Apply dark background to specific windows
},
},
modules = { -- List of various plugins and additional options
-- ...
},
palettes = {},
specs = {},
groups = {},
})
vim.cmd("colorscheme github_dark_high_contrast")
-- Apply custom function highlighting after colorscheme loads
vim.cmd [[
highlight Function guifg=#58a6ff gui=bold
highlight! link @function Function
highlight! link @function.call Function
highlight! link @method Function
highlight! link @method.call Function
highlight Type guifg=#7ee787 gui=NONE
highlight! link @type Type
highlight! link @type.builtin Type
highlight Keyword gui=NONE
highlight! link @keyword Keyword
highlight! link @keyword.function Keyword
]]
end,
},
}