Giter VIP home page Giter VIP logo

rasmus.nvim's Introduction

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_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

rasmus.nvim's People

Contributors

contre95 avatar kvrohit avatar moreka avatar tmm avatar tokiory avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rasmus.nvim's Issues

React components not being highlighted

First of all, I want to say great work on this plugin. I tried numerous themes and I settled on this one for it's balance of legibility and coherent aesthetic.

The issue I'm having is that React components are not highlighted the same way standard html tags are:

Screen Shot 2022-09-10 at 10 31 06 PM

These are React components imported like so

  import { OrbitControls } from '@react-three/drei';
  import { Canvas } from '@react-three/fiber';
  import Head from 'next/head';

It appears as if they are using the monochrome palette. I have tree-sitter installed also.

I'll try to dig into code and make a fix but want to document this issue as a start.

[(irrelevant) Question] About your statusline

Hi,

I just started using your 'rasmus' colorscheme and I really like it. Similar to zenbones but a bit more colorful!

I was wondering how you configured your statusline shown in the screenshots. I saw your dotfiles and your statusline config (you are using feline, right?), but it didn't work out of the box. I didn't want to spend much time going through the feline docs at the moment so was hoping to just copy/paste your feline config ๐Ÿ˜…. It seems quite simple and I like it over other examples, but I just get a bunch of invalid highlight name: StatusLine.... For sure I'm missing something so I was hoping you can point me in the right direction.

Thanks for your time!

Custom highlights / JSON Syntax

For some reason I don't understand, JSON files are not being highlighted and instead looks something like this:
image

I'm currently fixing this by setting some custom mappings but I think this could be extended to something more easy to setup or maybe just add these JSON highlight groups here. I didn't make any pr to add these since I'm not sure if this is the right way to set it or if this highlight groups are created by the LSP or Treesitter. But I'll be happy to make a pr if this is how is supposed to be done :)

Ideally it could look something like this:
image

Highlights for neorg quotes

Neorg is a plugin which helps in maintaining ones life and organize things. One can add quotes. And nested quotes are support.
But it seems that the nested quotes are not highlighted properly. Here's what it looks like when the quotes are highlighted properly like this,
image
compared to this(currently):
image
and it would be awesome to have rasmus change all the colors from :h gui-colors

Add highlight for WinSeparator

Nvim is deprecating VertSplit and moving to WinSeparator for borders in 0.10. By default, WinSeparator links to normal which does not look great for most colorschemes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.