mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: update config
This commit is contained in:
parent
34162856e1
commit
dd6086fcf3
2 changed files with 86 additions and 81 deletions
|
@ -44,7 +44,6 @@
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },
|
||||||
"nvim-ts-rainbow2": { "branch": "master", "commit": "b3120cd5ae9ca524af9cb602f41e12e301fa985f" },
|
"nvim-ts-rainbow2": { "branch": "master", "commit": "b3120cd5ae9ca524af9cb602f41e12e301fa985f" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "a55b801b7ef5719ca25692c3a0a5447fdfb692ed" },
|
"nvim-web-devicons": { "branch": "master", "commit": "a55b801b7ef5719ca25692c3a0a5447fdfb692ed" },
|
||||||
"onedark.nvim": { "branch": "master", "commit": "1230aaf2a427b2c5b73aba6e4a9a5881d3e69429" },
|
|
||||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
|
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "e9e01d699843af530ef4ad2c8679a7e273bb3dd1" },
|
"telescope.nvim": { "branch": "master", "commit": "e9e01d699843af530ef4ad2c8679a7e273bb3dd1" },
|
||||||
|
|
|
@ -1,86 +1,92 @@
|
||||||
return {
|
return {
|
||||||
"projekt0n/github-nvim-theme",
|
{
|
||||||
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
"navarasu/onedark.nvim",
|
||||||
priority = 1000, -- make sure to load this before all the other start plugins
|
enabled = false,
|
||||||
config = function()
|
},
|
||||||
local is_transparent = false
|
{
|
||||||
local palette = require("github-theme.palette").load("github_dark_dimmed")
|
"projekt0n/github-nvim-theme",
|
||||||
require("github-theme").setup({
|
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
||||||
options = {
|
priority = 1000, -- make sure to load this before all the other start plugins
|
||||||
-- Compiled file's destination location
|
config = function()
|
||||||
compile_path = vim.fn.stdpath("cache") .. "/github-theme",
|
local is_transparent = false
|
||||||
compile_file_suffix = "_compiled", -- Compiled file suffix
|
local palette = require("github-theme.palette").load("github_dark_dimmed")
|
||||||
hide_end_of_buffer = true, -- Hide the '~' character at the end of the buffer for a cleaner look
|
require("github-theme").setup({
|
||||||
hide_nc_statusline = true, -- Override the underline style for non-active statuslines
|
options = {
|
||||||
transparent = is_transparent, -- Disable setting background
|
-- Compiled file's destination location
|
||||||
terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
|
compile_path = vim.fn.stdpath("cache") .. "/github-theme",
|
||||||
dim_inactive = false, -- Non focused panes set to alternative background
|
compile_file_suffix = "_compiled", -- Compiled file suffix
|
||||||
module_default = true, -- Default enable value for modules
|
hide_end_of_buffer = true, -- Hide the '~' character at the end of the buffer for a cleaner look
|
||||||
styles = { -- Style to be applied to different syntax groups
|
hide_nc_statusline = true, -- Override the underline style for non-active statuslines
|
||||||
comments = "italic", -- Value is any valid attr-list value `:help attr-list`
|
transparent = is_transparent, -- Disable setting background
|
||||||
functions = "italic",
|
terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
|
||||||
keywords = "NONE",
|
dim_inactive = false, -- Non focused panes set to alternative background
|
||||||
variables = "NONE",
|
module_default = true, -- Default enable value for modules
|
||||||
conditionals = "NONE",
|
styles = { -- Style to be applied to different syntax groups
|
||||||
constants = "NONE",
|
comments = "italic", -- Value is any valid attr-list value `:help attr-list`
|
||||||
numbers = "NONE",
|
functions = "italic",
|
||||||
operators = "NONE",
|
keywords = "NONE",
|
||||||
strings = "NONE",
|
variables = "NONE",
|
||||||
types = "NONE",
|
conditionals = "NONE",
|
||||||
},
|
constants = "NONE",
|
||||||
inverse = { -- Inverse highlight for different types
|
numbers = "NONE",
|
||||||
match_paren = false,
|
operators = "NONE",
|
||||||
visual = false,
|
strings = "NONE",
|
||||||
search = false,
|
types = "NONE",
|
||||||
},
|
},
|
||||||
darken = { -- Darken floating windows and sidebar-like windows
|
inverse = { -- Inverse highlight for different types
|
||||||
floats = false,
|
match_paren = false,
|
||||||
sidebars = {
|
visual = false,
|
||||||
enabled = true,
|
search = false,
|
||||||
list = {}, -- Apply dark background to specific windows
|
},
|
||||||
|
darken = { -- Darken floating windows and sidebar-like windows
|
||||||
|
floats = false,
|
||||||
|
sidebars = {
|
||||||
|
enabled = true,
|
||||||
|
list = {}, -- Apply dark background to specific windows
|
||||||
|
},
|
||||||
|
},
|
||||||
|
modules = { -- List of various plugins and additional options
|
||||||
|
-- ...
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
modules = { -- List of various plugins and additional options
|
palettes = {
|
||||||
-- ...
|
github_dark_dimmed = {
|
||||||
|
bg0 = is_transparent and "NONE" or "bg1",
|
||||||
|
bg1 = is_transparent and "NONE" or "bg",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
specs = {},
|
||||||
palettes = {
|
groups = {
|
||||||
github_dark_dimmed = {
|
all = {
|
||||||
bg0 = is_transparent and "NONE" or "bg1",
|
illuminatedWord = { bg = "#3b4261" },
|
||||||
bg1 = is_transparent and "NONE" or "bg",
|
illuminatedCurWord = { bg = "#3b4261" },
|
||||||
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
|
IlluminatedWordRead = { bg = "#3b4261" },
|
||||||
|
IlluminatedWordWrite = { bg = "#3b4261" },
|
||||||
|
["@tag.attribute"] = { fg = "#77bdfb", style = "italic" },
|
||||||
|
["@text.uri"] = { fg = palette.const, style = "italic" },
|
||||||
|
-- ["@tag"] = { fg = "#fa7970" },
|
||||||
|
},
|
||||||
|
github_dark_high_contrast = {
|
||||||
|
NvimTreeSpecialFile = { fg = "#faa356", style = "italic" },
|
||||||
|
},
|
||||||
|
github_dark_dimmed = {
|
||||||
|
-- As with specs and palettes, a specific style's value will be used over the `all`'s value.
|
||||||
|
NvimTreeNormal = { fg = "fg1", bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
NvimTreeSpecialFile = { fg = "#faa356", style = "italic" },
|
||||||
|
BufferLineFill = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
BufferLineUnfocusedFill = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
LualineNormal = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
StatusLine = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
StatusLineTerm = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
Pmenu = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
PmenuSel = { link = "CursorLine" },
|
||||||
|
WhichKeyFloat = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
LazyNormal = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
LazyBackground = { bg = is_transparent and "NONE" or "bg1" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
})
|
||||||
specs = {},
|
end,
|
||||||
groups = {
|
},
|
||||||
all = {
|
|
||||||
illuminatedWord = { bg = "#3b4261" },
|
|
||||||
illuminatedCurWord = { bg = "#3b4261" },
|
|
||||||
IlluminatedWordText = { bg = "#3b4261" },
|
|
||||||
IlluminatedWordRead = { bg = "#3b4261" },
|
|
||||||
IlluminatedWordWrite = { bg = "#3b4261" },
|
|
||||||
["@tag.attribute"] = { fg = "#77bdfb", style = "italic" },
|
|
||||||
["@text.uri"] = { fg = palette.const, style = "italic" },
|
|
||||||
-- ["@tag"] = { fg = "#fa7970" },
|
|
||||||
},
|
|
||||||
github_dark_high_contrast = {
|
|
||||||
NvimTreeSpecialFile = { fg = "#faa356", style = "italic" },
|
|
||||||
},
|
|
||||||
github_dark_dimmed = {
|
|
||||||
-- As with specs and palettes, a specific style's value will be used over the `all`'s value.
|
|
||||||
NvimTreeNormal = { fg = "fg1", bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
NvimTreeSpecialFile = { fg = "#faa356", style = "italic" },
|
|
||||||
BufferLineFill = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
BufferLineUnfocusedFill = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
LualineNormal = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
StatusLine = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
StatusLineTerm = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
Pmenu = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
PmenuSel = { link = "CursorLine" },
|
|
||||||
WhichKeyFloat = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
LazyNormal = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
LazyBackground = { bg = is_transparent and "NONE" or "bg1" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue