• Stars
    star
    173
  • Rank 220,124 (Top 5 %)
  • Language
    Lua
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A nord-esque colorscheme for neovim

nordic.nvim

A nord-esque colorscheme.

nordic.nvim supports highlighting for Treesitter, Neovim LSP, Telescope, and much more.

Color Preview

Requirements

  • Neovim 0.5+

Usage

nordic.nvim can be installed using any package manager and configuration language of choice.

With packer.nvim

packer.nvim provides an easy way to install, enable and configure this colorscheme:

use {
    'andersevenrud/nordic.nvim',
    config = function()
        -- The table used in this example contains the default settings.
        -- Modify or remove these to your liking (this also applies to alternatives below):
        require('nordic').colorscheme({
            -- Underline style used for spelling
            -- Options: 'none', 'underline', 'undercurl'
            underline_option = 'none',

            -- Italics for certain keywords such as constructors, functions,
            -- labels and namespaces
            italic = true,

            -- Italic styled comments
            italic_comments = false,

            -- Minimal mode: different choice of colors for Tabs and StatusLine
            minimal_mode = false,

            -- Darker backgrounds for certain sidebars, popups, etc.
            -- Options: true, false, or a table of explicit names
            -- Supported: terminal, qf, vista_kind, packer, nvim-tree, telescope, whichkey
            alternate_backgrounds = false,

            -- Callback function to define custom color groups
            -- See 'lua/nordic/colors/example.lua' for example defitions
            custom_colors = function(c, s, cs)
              return {}
            end
        })
    end
}

Alternatives

For example vim-plug:

Plug 'andersevenrud/nordic.nvim'

Using Lua

Via the nordic.nvim module:

require('nordic').colorscheme({
    underline_option = 'none',
    italic = true,
    italic_comments = false,
    minimal_mode = false,
    alternate_backgrounds = false
})

or via vim globals:

vim.g.nord_underline_option = 'none'
vim.g.nord_italic = true
vim.g.nord_italic_comments = false
vim.g.nord_minimal_mode = false
vim.g.nord_alternate_backgrounds = false
vim.cmd('colorscheme nordic')

Using Vimscript

let g:nord_underline_option = 'none'
let g:nord_italic = v:true
let g:nord_italic_comments = v:false
let g:nord_minimal_mode = v:false
let g:nord_alternate_backgrounds = v:false
colorscheme nordic

Notes

Certain plugin highlights are configured manually with Lua tables. This colorscheme comes with some pre-made configurations and instructions.

More Repositories

1

nvim_context_vt

Virtual text context for neovim treesitter
Lua
373
star
2

retro-css-shell-demo

AnderShell 3000 - Retro looking terminal in CSS
SCSS
274
star
3

cmp-tmux

Tmux completion source for nvim-cmp and nvim-compe
Lua
120
star
4

TileGame

Top-down 2D tile engine with infinite terrain generation (JavaScript)
JavaScript
56
star
5

xpra-html5-client

Xpra HTML5 client written in TypeScript
TypeScript
33
star
6

vuensee

A noVNC client interface built with Vue 3 and Vite.
Vue
23
star
7

dotfiles

Personal dotfiles
Lua
21
star
8

cncjs

A JavaScript recreation of the classic RTS Command & Conquer by Westwood Studios
TypeScript
13
star
9

microservice-rnd

Microservice architecture demonstration with Node.js (TypeScript) and Kafka
TypeScript
9
star
10

ha-nexa-bridge-x

Home Assistant - Nexa Bridge X Integration
Python
8
star
11

webrtc-screenshare-crop-demo

This is an example on how to crop (select a section) WebRTC screen sharing in Chrome
JavaScript
7
star
12

Pyocv

Python OpenCV Manipulation/Tracking/Detection Library
Python
6
star
13

mycardashpoc

Nothing to see here. Move along...
TypeScript
4
star
14

osjs-glitch-application

[PoC] OS.js Glitch Application Browser & Launcher
JavaScript
4
star
15

dreamcast-linux

Builds Linux distro for the Sega Dreamcast
Shell
4
star
16

select-typeahead

A configurable, super simple and extremely fast typeahead solution for `<select>` elements.
JavaScript
4
star
17

vue-dashboard

A simple vue dashboard with panels
JavaScript
4
star
18

mdtome

Markdown Tome is a Gitbook clone
JavaScript
4
star
19

TekkitScripts

Minecraft Tekkit Machine Schematics and LUA Scripts.
4
star
20

osjs-example-overlay

Example overlay for OS.js
JavaScript
3
star
21

simplejsonconf

Use JSON as a configuration file
JavaScript
3
star
22

RxOS-UI3

Outernet Project Web Desktop
JavaScript
3
star
23

gothite-wm

A simple Rust Window Manager (WIP)
Rust
2
star
24

node-opkg

Node API for openwrt's `opkg`.
JavaScript
2
star
25

osjs-linux-installer-application

The application that's used to install OS.js Linux
JavaScript
2
star
26

Sendega.php

Sendega SSM/MMS API Library for PHP
PHP
2
star
27

jsgenphrase

Simple JavaScript passphrase generator
JavaScript
2
star
28

phppgadmin-docker

A very simple phppgadmin docker image that uses the latest official release (7.12.0+) and runs on PHP 7 with Alpine.
Dockerfile
2
star
29

munin-plugins

Plugins i made for Munin
Shell
2
star
30

nvim-lspconfig-web

2
star
31

webevise.js

Stream you video library to any device supporting HTML5 video.
JavaScript
2
star
32

tiny-questionnaire

Embeddable web application that presents the user with a series of questions that can have multiple outcomes and formats.
JavaScript
2
star
33

userbase

This is an example of how to set up an Express application to handle user authentication and CRUD via an REST API
JavaScript
2
star
34

osjs-ldap-auth

OS.js v3 LDAP Authentication Adapter
JavaScript
1
star
35

php-signicat-DocumentServiceV3-API

Signicat DocumentService V3 SOAP Library
PHP
1
star
36

osjs-pm2-provider

PM2 Metrics Service Provider for OS.js
JavaScript
1
star
37

OS.js-v2.1

OS.js v2.1 graveyard
JavaScript
1
star
38

OS.js-v2.0

OS.js v2.0 graveyard
JavaScript
1
star
39

simple-nfo-generator

Media NFO Metadata generator using file name patterns
TypeScript
1
star
40

frontsms

Front SMS API PHP Library
PHP
1
star
41

osjs-build-parallel-cli

OS.js Webpack Parallel build CLI module
JavaScript
1
star
42

1881

API Library for 1881
PHP
1
star
43

fiddler.js

A simple code sharing platform (think jsfiddle) made upon Vue, Ace Editor and Express.
JavaScript
1
star
44

nets-kar

Nets KAR Web Service API
JavaScript
1
star
45

OS.js-v1.0

OS.js v1.0 graveyard
JavaScript
1
star
46

osjsv3-db-auth-example

JavaScript
1
star
47

grunt-contrib-validate-xml

Grunt plugin to validate XML files
JavaScript
1
star
48

proto-zoomy-ender

ProtoZoomyEnder
1
star
49

freevault

FreeVault is a free and open-source password manager (based on SimpleVault) using ElasticSearch
PHP
1
star
50

funtoo-thinkpad-r400

Funtoo (Gentoo) Installation configurations and fixes for Lenovo (IBM) Thinkpads
Shell
1
star