65 lines
2.2 KiB
Lua
65 lines
2.2 KiB
Lua
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,italic",
|
|
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,
|
|
},
|
|
}
|