feat: add coder settings and update cyberpunk theme
This commit is contained in:
8
.coder/settings.json
Normal file
8
.coder/settings.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"files.autoSaveDelay": 1000,
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"workbench.colorTheme": "Default Dark+",
|
||||||
|
"terminal.integrated.fontSize": 14,
|
||||||
|
"editor.fontSize": 14,
|
||||||
|
"files.autoSave": "afterDelay"
|
||||||
|
}
|
||||||
46
.coder/tree.log
Normal file
46
.coder/tree.log
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# Project Tree: cargdevschemecolor.nvim
|
||||||
|
# Generated: 2026-02-04 00:09:39
|
||||||
|
# By: Codetyper.nvim
|
||||||
|
|
||||||
|
📦 cargdevschemecolor.nvim
|
||||||
|
├── 📁 assets
|
||||||
|
│ ├── 📄 CSS_file.png
|
||||||
|
│ ├── 📄 JSON_file.png
|
||||||
|
│ ├── 📄 TSX_file.png
|
||||||
|
│ └── 📄 TS_file.png
|
||||||
|
├── 📁 colors
|
||||||
|
│ └── 🌙 cargdev-cyberpunk.lua
|
||||||
|
├── 📁 examples
|
||||||
|
│ └── 📘 sample.ts
|
||||||
|
├── 📁 lua
|
||||||
|
│ └── 📁 cargdev-cyberpunk
|
||||||
|
│ ├── 🌙 colors.lua
|
||||||
|
│ ├── 🌙 config.lua
|
||||||
|
│ ├── 🌙 highlights.lua
|
||||||
|
│ ├── 🌙 init.lua
|
||||||
|
│ └── 🌙 plugin.lua
|
||||||
|
├── 📁 terminals
|
||||||
|
│ ├── 📄 cargdev-cyberpunk-shell.sh
|
||||||
|
│ ├── 🌙 cargdev-cyberpunk-wezterm.lua
|
||||||
|
│ ├── 📋 cargdev-cyberpunk-windows-terminal.json
|
||||||
|
│ ├── 📄 cargdev-cyberpunk.conf
|
||||||
|
│ ├── 📄 cargdev-cyberpunk.itermcolors
|
||||||
|
│ ├── 📄 cargdev-cyberpunk.toml
|
||||||
|
│ └── 📄 cargdev-cyberpunk.zsh-theme
|
||||||
|
├── 📁 test
|
||||||
|
│ └── 🌙 test_colors.lua
|
||||||
|
├── 📁 vscode
|
||||||
|
│ ├── 📁 themes
|
||||||
|
│ │ └── 📋 cargdev-cyberpunk-color-theme.json
|
||||||
|
│ └── 📋 package.json
|
||||||
|
├── 📝 CHANGELOG.md
|
||||||
|
├── 📝 CONTRIBUTING.md
|
||||||
|
├── 📝 INSTALL.md
|
||||||
|
├── 📄 LICENSE
|
||||||
|
├── 📝 README.md
|
||||||
|
├── 📄 llms.txt
|
||||||
|
├── 📄 selene.toml
|
||||||
|
├── 📄 stylua.toml
|
||||||
|
└── 📄 vim.toml
|
||||||
|
|
||||||
|
# Total files tracked by Codetyper
|
||||||
@@ -22,6 +22,7 @@ M.palette = {
|
|||||||
secondary = "#B8B8B8",
|
secondary = "#B8B8B8",
|
||||||
muted = "#888888",
|
muted = "#888888",
|
||||||
accent = "#8BE9FD",
|
accent = "#8BE9FD",
|
||||||
|
unused = "#555555",
|
||||||
},
|
},
|
||||||
|
|
||||||
syntax = {
|
syntax = {
|
||||||
@@ -33,7 +34,7 @@ M.palette = {
|
|||||||
type = "#BD93F9",
|
type = "#BD93F9",
|
||||||
constant = "#FFB86C",
|
constant = "#FFB86C",
|
||||||
operator = "#FF79C6",
|
operator = "#FF79C6",
|
||||||
variable = "#BD93F9",
|
variable = "#F1FA8C",
|
||||||
property = "#50FA7B",
|
property = "#50FA7B",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -271,8 +271,9 @@ function M.get_groups(colors, config)
|
|||||||
["@lsp.type.decorator"] = { fg = c.syntax.property, bold = true },
|
["@lsp.type.decorator"] = { fg = c.syntax.property, bold = true },
|
||||||
|
|
||||||
["@lsp.mod.deprecated"] = { strikethrough = true },
|
["@lsp.mod.deprecated"] = { strikethrough = true },
|
||||||
["@lsp.mod.readonly"] = { fg = c.syntax.constant },
|
["@lsp.mod.readonly"] = {}, -- Don't change color for const, keep variable color
|
||||||
["@lsp.mod.defaultLibrary"] = { fg = c.syntax.constant },
|
["@lsp.mod.defaultLibrary"] = { fg = c.syntax.constant },
|
||||||
|
["@lsp.mod.unused"] = { fg = c.fg.unused }, -- Gray for unused variables/imports
|
||||||
|
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
-- Diagnostics
|
-- Diagnostics
|
||||||
@@ -307,6 +308,9 @@ function M.get_groups(colors, config)
|
|||||||
DiagnosticSignHint = { fg = c.special.hint },
|
DiagnosticSignHint = { fg = c.special.hint },
|
||||||
DiagnosticSignOk = { fg = c.special.success },
|
DiagnosticSignOk = { fg = c.special.success },
|
||||||
|
|
||||||
|
-- Unused code (for unused variables/imports)
|
||||||
|
DiagnosticUnnecessary = { fg = c.fg.unused },
|
||||||
|
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
-- LSP
|
-- LSP
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
@@ -402,6 +406,28 @@ function M.get_groups(colors, config)
|
|||||||
NeoTreeIndentMarker = { fg = c.bg.tertiary },
|
NeoTreeIndentMarker = { fg = c.bg.tertiary },
|
||||||
NeoTreeWinSeparator = { fg = c.bg.tertiary, bg = c.bg.secondary },
|
NeoTreeWinSeparator = { fg = c.bg.tertiary, bg = c.bg.secondary },
|
||||||
|
|
||||||
|
-- ============================================================
|
||||||
|
-- Plugin: NERDTree
|
||||||
|
-- ============================================================
|
||||||
|
NERDTreeDir = { fg = c.syntax["function"] },
|
||||||
|
NERDTreeDirSlash = { fg = c.syntax["function"] },
|
||||||
|
NERDTreeOpenable = { fg = c.fg.accent },
|
||||||
|
NERDTreeClosable = { fg = c.fg.accent },
|
||||||
|
NERDTreeFile = { fg = c.fg.primary },
|
||||||
|
NERDTreeExecFile = { fg = c.special.success, bold = true },
|
||||||
|
NERDTreeUp = { fg = c.fg.muted },
|
||||||
|
NERDTreeCWD = { fg = c.syntax.keyword, bold = true },
|
||||||
|
NERDTreeHelp = { fg = c.fg.muted },
|
||||||
|
NERDTreeToggleOn = { fg = c.special.success },
|
||||||
|
NERDTreeToggleOff = { fg = c.special.error },
|
||||||
|
NERDTreeFlags = { fg = c.fg.accent },
|
||||||
|
NERDTreeLinkFile = { fg = c.fg.accent },
|
||||||
|
NERDTreeLinkTarget = { fg = c.fg.muted },
|
||||||
|
NERDTreeLinkDir = { fg = c.fg.accent },
|
||||||
|
NERDTreeBookmarksHeader = { fg = c.syntax.keyword, bold = true },
|
||||||
|
NERDTreeBookmarkName = { fg = c.fg.accent },
|
||||||
|
NERDTreeRO = { fg = c.special.warning },
|
||||||
|
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
-- Plugin: nvim-cmp
|
-- Plugin: nvim-cmp
|
||||||
-- ============================================================
|
-- ============================================================
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ function M.load()
|
|||||||
|
|
||||||
M.apply_highlights()
|
M.apply_highlights()
|
||||||
M.apply_terminal_colors()
|
M.apply_terminal_colors()
|
||||||
|
M.setup_file_explorer_bg()
|
||||||
end
|
end
|
||||||
|
|
||||||
---Setup the colorscheme with options
|
---Setup the colorscheme with options
|
||||||
@@ -77,6 +78,28 @@ function M.apply_terminal_colors()
|
|||||||
vim.g.terminal_color_15 = c.bright_white
|
vim.g.terminal_color_15 = c.bright_white
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---Setup background colors for file explorers (NERDTree, etc.)
|
||||||
|
function M.setup_file_explorer_bg()
|
||||||
|
local colors = require("cargdev-cyberpunk.colors")
|
||||||
|
local c = colors.palette
|
||||||
|
|
||||||
|
-- Create highlight groups for NERDTree background
|
||||||
|
vim.api.nvim_set_hl(0, "NERDTreeNormal", { fg = c.fg.primary, bg = c.bg.secondary })
|
||||||
|
vim.api.nvim_set_hl(0, "NERDTreeEndOfBuffer", { fg = c.bg.secondary, bg = c.bg.secondary })
|
||||||
|
vim.api.nvim_set_hl(0, "NERDTreeWinSeparator", { fg = c.bg.tertiary, bg = c.bg.secondary })
|
||||||
|
|
||||||
|
-- Set up autocmd for NERDTree windows
|
||||||
|
local augroup = vim.api.nvim_create_augroup("CargdevCyberpunkNERDTree", { clear = true })
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
group = augroup,
|
||||||
|
pattern = "nerdtree",
|
||||||
|
callback = function()
|
||||||
|
vim.opt_local.winhighlight = "Normal:NERDTreeNormal,EndOfBuffer:NERDTreeEndOfBuffer,WinSeparator:NERDTreeWinSeparator"
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
---Get the color palette
|
---Get the color palette
|
||||||
---@return CargdevCyberpunkPalette
|
---@return CargdevCyberpunkPalette
|
||||||
function M.get_colors()
|
function M.get_colors()
|
||||||
|
|||||||
Reference in New Issue
Block a user