A color scheme for Neovim
Rasmus
A color scheme for Neovim written in Lua ported from rsms/sublime-theme theme.
Features
- Supports the latest Neovim
0.5features like TreeSitter and LSP - Terminal colors inside Neovim
- Dark and monochrome variants
Plugin Support
- TreeSitter
- LSP Diagnostics
- LSP Trouble
- LSP Saga
- Git Signs
- Telescope
- NvimTree
- WhichKey
- Indent Blankline
- BufferLine
- ALE
- vim-sneak
- nvim-cmp
- Hydra
Requirements
- Neovim >= 0.5.0
Installation
Install the theme with your preferred package manager:
Plug 'kvrohit/rasmus.nvim'
use 'kvrohit/rasmus.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 | | ----------------------- | ------- | ------------------------ | | rasmusitaliccomments | true | Make comments italic | | rasmusitalickeywords | false | Make keywords italic | | rasmusitalicbooleans | false | Make booleans italic | | rasmusitalicfunctions | false | Make functions italic | | rasmusitalicvariables | false | Make variables italic | | rasmusboldcomments | false | Make comments bold | | rasmusboldkeywords | false | Make keywords bold | | rasmusboldbooleans | false | Make booleans bold | | rasmusboldfunctions | false | Make functions bold | | rasmusboldvariables | false | Make variables bold | | rasmus_transparent | false | Disable background color | | rasmus_variant | dark | Colorscheme variant |
-- Example config in lua
-- Configure the appearance vim.g.rasmusitalicfunctions = true vim.g.rasmusboldfunctions = 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:rasmusitalicfunctions = 1 let g:rasmusboldfunctions = 1
" Set the colorscheme variant to monochrome let g:rasmus_variant = "monochrome"
" Load the colorscheme colorscheme rasmus
Preview
Terminal
Markdown
Rust
HTML
JavaScript
JSX
Lua
Extras
- alacritty color theme:
extras/alacritty/rasmus.yaml - kitty color theme:
extras/kitty/rasmus.conf - iterm color theme:
extras/iterm/rasmus.itermcolors
Credits
- The original author(s) of the excellent rsms/sublime-theme theme.
- Lua plugin derived from neon and influenced by tokyonight.nvim.