https://github.com/smlx/nocte
Neovim colo(u)r scheme for consistency in 16-color terminals.
https://github.com/smlx/nocte
16-colors neovim neovim-colorscheme terminal
Last synced: over 1 year ago
JSON representation
Neovim colo(u)r scheme for consistency in 16-color terminals.
- Host: GitHub
- URL: https://github.com/smlx/nocte
- Owner: smlx
- Created: 2024-05-25T04:55:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T12:35:40.000Z (about 2 years ago)
- Last Synced: 2025-01-22T14:46:51.930Z (over 1 year ago)
- Topics: 16-colors, neovim, neovim-colorscheme, terminal
- Language: Lua
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nocte
Nocte is a [color scheme](https://neovim.io/doc/user/syntax.html#%3Ahighlight) for [Neovim](https://github.com/neovim/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](https://github.com/noahfrederick)'s [Noctu](https://github.com/noahfrederick/vim-noctu) and uses almost identical color mapping.
However in Neovim v0.10.0, some of the highlighting links assumed by Noctu [were changed](https://neovim.io/doc/user/news-0.10.html#_-breaking-changes), 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](https://neovim.io/doc/user/lsp.html#lsp-semantic-highlight) and [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md#highlights) 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](https://codeberg.org/dnkl/foot) with the following color scheme, which is a slightly tweaked version of GNOME Terminal's built-in [Tango color scheme](https://github.com/GNOME/gnome-terminal/blob/43b859ae64e5df659b3e9dd5d9a341e6c5c8f896/src/terminal-profile-editor.cc#L218-L236):
```ini
[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:
, 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.