kvrohit/substrata.nvim

github github
tree-sitter-supported-colorscheme plugin
star 11
stars
alert-circle 1
open issues
users 1
subscribers
git-branch 1
forks
CREATED

2021-07-18

UPDATED

last month

packer

require('packer').startup(function()
  use 'kvrohit/substrata.nvim'
end)

paq

require "paq" { 
  'kvrohit/substrata.nvim'
}

🏔 Substrata

A cold, dark color scheme for Neovim written in Lua ported from vim-substrata theme.

✨ Features

  • Supports the latest Neovim 0.5 features like TreeSitter and LSP
  • Terminal colors inside Neovim

Plugin Support

⚡️ Requirements

  • Neovim >= 0.5.0

📦 Installation

Install the theme with your preferred package manager:

vim-plug

Plug 'kvrohit/substrata.nvim'

packer

use 'kvrohit/substrata.nvim'

🚀 Usage

Enable the colorscheme:

-- Lua
vim.cmd [[colorscheme substrata]]
" Vim Script
colorscheme substrata

⚙️ Configuration

Configuration needs to be set BEFORE loading the color scheme with colorscheme substrata

Option Default Description
substrata_italic_comments true Make comments italic
substrata_italic_keywords false Make keywords italic
substrata_italic_booleans false Make booleans italic
substrata_italic_functions false Make functions italic
substrata_italic_variables false Make variables italic
-- Example config in lua
vim.g.substrata_italic_functions = true

-- Load the colorscheme
vim.cmd [[colorscheme substrata]]
" Example config in Vim Script
let g:substrata_italic_functions = 1

" Load the colorscheme
colorscheme substrata

Preview

Terminal

01-gnome-terminal

Shell script

02-shell-script

Markdown

03-markdown

YAML

04-yaml

Rust

05-rust

HTML

06-html

CSS

07-css

JavaScript

08-js

☑️ Extras

  • Eclipse color theme: extras/eclipse/substrata.xml
  • Gnome Terminal color theme: extras/gnome-terminal/substrata.sh
  • iTerm2 color theme: extras/iterm2/substrata.itermcolors
  • Konsole color theme: extras/konsole/substrata.colorscheme

👍 Credits