From bb769804dbf6fbf6e47473bdf433f9792143c0cc Mon Sep 17 00:00:00 2001 From: Carlos Gutierrez Date: Wed, 4 Feb 2026 00:17:35 -0500 Subject: [PATCH] feat: add coder settings and update cyberpunk theme --- .coder/settings.json | 8 +++++ .coder/tree.log | 46 ++++++++++++++++++++++++++++ lua/cargdev-cyberpunk/colors.lua | 3 +- lua/cargdev-cyberpunk/highlights.lua | 28 ++++++++++++++++- lua/cargdev-cyberpunk/init.lua | 23 ++++++++++++++ 5 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 .coder/settings.json create mode 100644 .coder/tree.log diff --git a/.coder/settings.json b/.coder/settings.json new file mode 100644 index 0000000..8592ebe --- /dev/null +++ b/.coder/settings.json @@ -0,0 +1,8 @@ +{ + "files.autoSaveDelay": 1000, + "editor.tabSize": 2, + "workbench.colorTheme": "Default Dark+", + "terminal.integrated.fontSize": 14, + "editor.fontSize": 14, + "files.autoSave": "afterDelay" +} diff --git a/.coder/tree.log b/.coder/tree.log new file mode 100644 index 0000000..79d766a --- /dev/null +++ b/.coder/tree.log @@ -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 \ No newline at end of file diff --git a/lua/cargdev-cyberpunk/colors.lua b/lua/cargdev-cyberpunk/colors.lua index 47fb68e..93d03ed 100644 --- a/lua/cargdev-cyberpunk/colors.lua +++ b/lua/cargdev-cyberpunk/colors.lua @@ -22,6 +22,7 @@ M.palette = { secondary = "#B8B8B8", muted = "#888888", accent = "#8BE9FD", + unused = "#555555", }, syntax = { @@ -33,7 +34,7 @@ M.palette = { type = "#BD93F9", constant = "#FFB86C", operator = "#FF79C6", - variable = "#BD93F9", + variable = "#F1FA8C", property = "#50FA7B", }, diff --git a/lua/cargdev-cyberpunk/highlights.lua b/lua/cargdev-cyberpunk/highlights.lua index 0ce06c6..aef50d9 100644 --- a/lua/cargdev-cyberpunk/highlights.lua +++ b/lua/cargdev-cyberpunk/highlights.lua @@ -271,8 +271,9 @@ function M.get_groups(colors, config) ["@lsp.type.decorator"] = { fg = c.syntax.property, bold = 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.unused"] = { fg = c.fg.unused }, -- Gray for unused variables/imports -- ============================================================ -- Diagnostics @@ -307,6 +308,9 @@ function M.get_groups(colors, config) DiagnosticSignHint = { fg = c.special.hint }, DiagnosticSignOk = { fg = c.special.success }, + -- Unused code (for unused variables/imports) + DiagnosticUnnecessary = { fg = c.fg.unused }, + -- ============================================================ -- LSP -- ============================================================ @@ -402,6 +406,28 @@ function M.get_groups(colors, config) NeoTreeIndentMarker = { fg = c.bg.tertiary }, 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 -- ============================================================ diff --git a/lua/cargdev-cyberpunk/init.lua b/lua/cargdev-cyberpunk/init.lua index 88fffd6..36830db 100644 --- a/lua/cargdev-cyberpunk/init.lua +++ b/lua/cargdev-cyberpunk/init.lua @@ -18,6 +18,7 @@ function M.load() M.apply_highlights() M.apply_terminal_colors() + M.setup_file_explorer_bg() end ---Setup the colorscheme with options @@ -77,6 +78,28 @@ function M.apply_terminal_colors() vim.g.terminal_color_15 = c.bright_white 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 ---@return CargdevCyberpunkPalette function M.get_colors()