GithubHelp home page GithubHelp logo

nocte's Introduction

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.

nocte's People

Contributors

smlx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.