kvrohit/rasmus.nvim

github github
colorschemetreesitter-colorschemes
stars 162
issues 5
subscribers 1
forks 10
CREATED

2022-03-14

UPDATED

2 days 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'

lazy.nvim

{
  "kvrohit/rasmus.nvim",
  priority = 1000,
  config = function()
    vim.cmd([[colorscheme rasmus]])
  end,
}

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_bold_comments false Make comments bold
rasmus_bold_keywords false Make keywords bold
rasmus_bold_booleans false Make booleans bold
rasmus_bold_functions false Make functions bold
rasmus_bold_variables false Make variables bold
rasmus_transparent false Disable background color
rasmus_variant dark Colorscheme variant
-- Example config in lua

-- Configure the appearance
vim.g.rasmus_italic_functions = true
vim.g.rasmus_bold_functions = true

-- Set the colorscheme variant to monochrome
vim.g.rasmus_variant = "monochrome"

-- Load the colorscheme
vim.cmd [[colorscheme rasmus]]
" Example config in vim script

" Configure the appearance
let g:rasmus_italic_functions = 1
let g:rasmus_bold_functions = 1

" Set the 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