Skip to content

wall3n/Codely-vim-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codely Neovim Theme

License: MIT Neovim >= 0.8 Vim >= 8.2

A port of the official Codely colorscheme originally designed for JetBrains IntelliJ to Vim and Neovim. Same palette, same semantic color roles, full support for the modern Neovim plugin stack.

Preview

IntelliJ Neovim
Intellij theme Neovim theme

Color Palette

Variable Hex Semantic role
s:bg #202124 #202124 Background
s:fg #EBDBB2 #EBDBB2 Foreground / normal text
s:fg2 #d8c9a4 Secondary text
s:fg3 #c5b896 Tertiary text / separators
s:fg4 #b3a687 Line numbers / decorations
s:bg2 #323336 Cursor line / popup bg
s:bg3 #444547 Status line / selection bg
s:bg4 #565659 Non-text / indent guides
s:keyword #fb5245 #fb5245 Keywords (if, for, return)
s:builtin #FAC149 #FAC149 Built-in functions / decorators
s:const #D3869B #D3869B Constants / booleans / numbers
s:comment #A89984 #A89984 Comments
s:func #FAC149 Function names
s:str #B8BB26 #B8BB26 String literals
s:type #8EC07C #8EC07C Types / classes / identifiers
s:var #EBDBB2 Variables (same as fg)
s:warning #F0A732 #F0A732 Warnings
s:warning2 #F49810 Errors / MatchParen

Features

  • Full TreeSitter highlight captures (@keyword, @function, @type, @tag, @diff.*, and more)
  • LSP Diagnostics — Error, Warn, Info, Hint with underline, virtual text, and sign column variants
  • LSP Semantic Tokens (@lsp.type.*, @lsp.mod.deprecated) for Neovim ≥ 0.9
  • Plugin support: Telescope, nvim-cmp, Gitsigns, NeoTree, NvimTree, indent-blankline, WhichKey, Mini.nvim
  • Compatible with classic Vim ≥ 8.2 and Neovim ≥ 0.8 — pure Vim Script, zero dependencies
  • Terminal colors configured via g:terminal_color_*

Installation

lazy.nvim

{
  dir = "~/path/to/Codely-vim-theme",
  name = "Codely",
  priority = 1000,
  config = function()
    vim.cmd.colorscheme("Codely")
  end,
}

Or from GitHub once published:

{
  "wall3n/Codely-vim-theme",
  priority = 1000,
  config = function()
    vim.cmd.colorscheme("Codely")
  end,
}

packer.nvim

use {
  "wall3n/Codely-vim-theme",
  config = function()
    vim.cmd("colorscheme Codely")
  end,
}

Manual

git clone https://github.com/wall3n/Codely-vim-theme \
  ~/.local/share/nvim/site/pack/codely/start/Codely-vim-theme

Then add to your config:

colorscheme Codely

Configuration

Minimum init.lua:

vim.opt.termguicolors = true
vim.cmd.colorscheme("Codely")

Or using the Lua module:

require("codely").setup()

Lualine Integration

local c = {
  bg      = "#202124",
  fg      = "#EBDBB2",
  bg2     = "#323336",
  bg3     = "#444547",
  fg2     = "#d8c9a4",
  keyword = "#fb5245",
  str     = "#B8BB26",
  const   = "#D3869B",
  warning = "#F0A732",
  builtin = "#FAC149",
  type    = "#8EC07C",
}

require("lualine").setup({
  options = {
    theme = {
      normal   = { a = { bg = c.keyword, fg = c.bg,  gui = "bold" }, b = { bg = c.bg3, fg = c.fg  }, c = { bg = c.bg2, fg = c.fg2 } },
      insert   = { a = { bg = c.str,     fg = c.bg,  gui = "bold" }, b = { bg = c.bg3, fg = c.fg  }, c = { bg = c.bg2, fg = c.fg2 } },
      visual   = { a = { bg = c.const,   fg = c.bg,  gui = "bold" }, b = { bg = c.bg3, fg = c.fg  }, c = { bg = c.bg2, fg = c.fg2 } },
      replace  = { a = { bg = c.warning, fg = c.bg,  gui = "bold" }, b = { bg = c.bg3, fg = c.fg  }, c = { bg = c.bg2, fg = c.fg2 } },
      command  = { a = { bg = c.builtin, fg = c.bg,  gui = "bold" }, b = { bg = c.bg3, fg = c.fg  }, c = { bg = c.bg2, fg = c.fg2 } },
      inactive = { a = { bg = c.bg2,     fg = c.fg2             },   b = { bg = c.bg2, fg = c.fg2 }, c = { bg = c.bg2, fg = c.fg2 } },
    },
  },
})

Roadmap

  • Additional language-specific groups: TypeScript, Rust, C/C++, Kotlin, Elixir
  • Native Lua rewrite (lua/codely/) for faster load and Neovim-only distributions
  • Automatic lualine theme export via require("codely").lualine_theme()
  • Light variant based on codely_light.xml

Inspiration & Reference

License

MIT — see LICENSE.

The color palette and visual design are original work by Codely. This repository is an independent Vim/Neovim port and is not officially maintained by Codely.

About

Vim implementation of the JetBrains theme of Codely

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors