/night.nvim

A dark and cleaner colorscheme for neovim based in the colorscheme showed by rxyhn dotfiles

Primary LanguageLua

night.nvim

night.nvim is a beautiful, dark and cleaner colorscheme based in the colorscheme showed in the rxyhn dotfiles

Screenshots

demonstration

External Plugin Support

  • Telescope
  • Nvim Tree
  • Tresitter
  • Lsp
  • Lsp saga
  • Coc
  • Bufferline
  • Illuminate
  • Diff
  • Git signs
  • Git gutter
  • Lualine
  • Ident-BlankLine

Installation

You can install this plugin with packer:

use { 'NightCS/night.nvim', as = 'night' }

Or with vim-plug:

Plug 'NightCS/night.nvim', { 'as': 'night' }

Active theme

To active the theme call this in your neovim config:

local night = require('night')

night.setup({ nvim_tree = { contrast = true } }) -- or use contrast = false to not apply contrast

Or with vim script:

colorscheme night

It will set automatically the vim.opt.termguicolors to true

Activating lualine theme

Place this in your lualine config:

local lualine = require('lualine')

lualine.setup {
  options = {
    theme = 'night-nvim',
  },
}

Using the core to get the colors

If you want to get the colors into a lua dictionary

local night = require('night.core')
local colors = night.get_colors()