Skip to content

rehd2/godottheme.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


GodotTheme.nvim

Preview


A modern, Godot-inspired Neovim color theme written in Lua.
This theme emphasizes readability, clear syntax highlighting, and deep integration with Treesitter, CMP popup menus, and Coc.nvim for a polished coding experience.


Features

  • Fully designed for Neovim 0.8+ with Lua configuration.
  • Godot-inspired color palette with rich contrasts and soft backgrounds.
  • Deep Treesitter support for syntax highlighting.
  • Highlighting for:
    • Strings, numbers, booleans, keywords, operators, functions, and types.
    • HTML, CSS, PHP, JS, and other front-end languages.
  • Autocomplete / Popup menu (CMP & Coc.nvim) support.
  • Cursor line, Visual selection, TabLine, WinSeparator, StatusLine styling.
  • Support for indent guides and Treesitter context.

Screenhots

Preview Preview


Installation

Using lazy.nvim

{
  "yourusername/godottheme.nvim",
  config = function()
    require('godot').setup()
  end
}

Using packer.nvim

use {
  "yourusername/godottheme.nvim",
  config = function()
    require('godot').setup()
  end
}

Using vim-plug

Plug 'Rehd0/godottheme.nvim'

Manual Installation

Clone the repository into your ~/.config/nvim/lua folder:

git clone https://github.com/Rehd0/godottheme.nvim.git

Then add this to your init.lua or colors/godot.lua:

require('godot').setup()

Usage

After setup, set your colorscheme:

:colorscheme godot

Customization

You can customize the theme by overriding colors or highlight groups in your setup() call.

require('godot').setup({
    colors = {
        bg = "#1D2229",
        fg = "#DDDFE7",
        yellow = "#F4E39A",
        red = "#FF7A9F",
        green = "#9AEED7",
        -- ... override any color
    },
    highlights = {
        Normal = { fg = "#DDDFE7", bg = "#1D2229" },
        Comment = { fg = "#51545A", italic = true },
        -- ... override any highlight
    }
})

Tip: Only override the colors or groups you want to change; the rest will use the default Godot palette.


Supported Highlight Groups

Core groups:

Normal, Comment, Keyword, String, Number, Boolean, Function, Type, Operator, Delimiter, Statement, Conditional, Exception, Call

Treesitter:

@function.call, @function.builtin, @keyword.conditional, @keyword.exception, @type.builtin, @string.special.url

UI / Plugins:

CMP: Pmenu, PmenuSel, PmenuSbar, PmenuThumb, PmenuKind, PmenuExtra

Coc.nvim: CocMenuSel, CocFloating, CocPumMenu, CocSearch

Status line: StatusLine, TabLine, TabLineSel

Visual / Cursor: Visual, CursorLine

Treesitter context: TreesitterContext, TreesitterContextLineNumber

Indent guides: IblScope


Color Palette

Name Color Hex Usage
bg███#1D2229Background
fg███#DDDFE7Foreground / Text
yellow███#F4E39AStrings, highlights
red███#FF7A9FKeywords, booleans
green███#9AEED7Numbers, types
darkGreen███#6CC068Preprocessor, accents
typeGreen███#5EF5CABuilt-in types
blue███#AAC9FEOperators, delimiters
flowerBlue███#A3A3F5Built-in functions
funcCallBlue███#1E90FFFunction calls
pink███#FF8CCCConditionals, exceptions
gray███#51545AComments
lightGray███#2D3238Cursor line, context
cyan███#5ECFE7Functions
errorRed███#613C3DError background
errorYellow███#3E3E32Warning background
transparentBlue███#3F5E7CVisual / Search
lightTheme███#353D4ATabLine / StatusLine


License

This project is licensed under the MIT License — see the LICENSE file for details.
© Rehd0


✨ Contributors

Rehd
Rehd

💻 📖

About

This color scheme aims to recreate Godot’s editor colors as closely as possible, keeping things stylish and true to its spirit wherever perfect accuracy isn’t possible. The goal is to make Neovim feel familiar and comfortable for Godot users who enjoy its default look.Enjoy

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages