Skip to content
/ nocte Public

Neovim colo(u)r scheme for consistency in 16-color terminals.

Notifications You must be signed in to change notification settings

smlx/nocte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nocte

Nocte is a color scheme for Neovim syntax highlighting.

Nocte does not choose a specific palette. Instead it uses your terminal color scheme for highlighting.

Nocte is entirely inspired by Noah Frederick's Noctu and uses almost identical color mapping. However in Neovim v0.10.0, some of the highlighting links assumed by Noctu were changed, which broke Noctu. So I created Nocte to maintain the functionality of Noctu in Neovim.

Features

  • Use the same color scheme in Neovim as you do for everything else in your terminal!
  • Zero configuration. Just configure your terminal colors, and Nocte will blend in with its environment.
  • Works with LSP Semantic Highlights and nvim-treesitter highlight groups.

Requirements

  • Designed for 16-color/4-bit terminals. That's enough for anyone, surely!
  • Only tested against the latest release of Neovim (most recently, v0.10.0).

Example / Screenshots

I use foot with the following color scheme, which is a slightly tweaked version of GNOME Terminal's built-in Tango color scheme:

[main]
bold-text-in-bright=palette-based
[colors]
foreground=babdb6
background=000000
regular0=2e3436
regular1=cc0000
regular2=4e9a06
regular3=c4a000
regular4=3465a4
regular5=75507b
regular6=06989a
regular7=d3d7cf
bright0=555753
bright1=ef2929
bright2=8ae234
bright3=fce94f
bright4=729fcf
bright5=ad7fa8
bright6=34e2e2
bright7=eeeeec

It gives a result like this:

Screenshot showing the same terminal color scheme in multiple apps. Clockwise from top left: tig, Neovim (markdown), Neovim (gitcommit), htop, Neovim (lua).

The name

As a rewrite of Noctu, I just went with another form of the same Latin root word. I don't know Latin, it just seemed to fit.

About

Neovim colo(u)r scheme for consistency in 16-color terminals.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages