kvrohit/rasmus.nvim

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

2022-03-14

UPDATED

11 hours ago


Rasmus

A color scheme for Neovim written in Lua ported from rsms/sublime-theme theme.

Features

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

Plugin Support

Requirements

  • Neovim >= 0.5.0

Installation

Install the theme with your preferred package manager:

vim-plug

Plug 'kvrohit/rasmus.nvim'

packer

use 'kvrohit/rasmus.nvim'

Usage

Enable the colorscheme:

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

Configuration

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

Option Default Description
rasmus_italic_comments true Make comments italic
rasmus_italic_keywords false Make keywords italic
rasmus_italic_booleans false Make booleans italic
rasmus_italic_functions false Make functions italic
rasmus_italic_variables false Make variables italic
rasmus_transparent false Disable background color
rasmus_variant dark Colorscheme variant
-- Example config in lua
vim.g.rasmus_italic_functions = true

-- Setting colorscheme variant to monochrome
vim.g.rasmus_variant = "monochrome"

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

" Setting colorscheme variant to monochrome
let g:rasmus_variant = "monochrome"

" Load the colorscheme
colorscheme rasmus

Preview

Terminal

Screenshot 2022-03-28 at 2 25 58 PM

Markdown

Screenshot 2022-03-28 at 2 08 06 PM

Rust

Screenshot 2022-03-28 at 2 20 33 PM

HTML

Screenshot 2022-03-28 at 2 23 42 PM

JavaScript

Screenshot 2022-03-28 at 2 23 15 PM

JSX

Screenshot 2022-03-28 at 2 21 08 PM

Lua

Screenshot 2022-03-28 at 2 12 40 PM

Extras

  • alacritty color theme: extras/alacritty/rasmus.yaml
  • kitty color theme: extras/kitty/rasmus.conf
  • iterm color theme: extras/iterm/rasmus.itermcolors

Credits