Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
/ rasi.vim Public archive

Rofi config syntax highlighting for vim

License

Notifications You must be signed in to change notification settings

Fymyte/rasi.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

Support for rasi filetype has been merged in vim and neovim and should be available in next release of respective projects.

rasi.vim - rofi config syntax highlighting for vim

Add syntax highlighting support for rasi config file

The syntax is based on the rofi-theme man page. (v1.7.2)

image

With tree-sitter highlighting: Tree-sitter showcase

Colorscheme: kanagawa.nvim

Dependencies

Optionnal

A parser for rasi has also been created for neovim users at Fymyte/tree-sitter-rasi. The parser doesn't add much highlighting but may recognize some structure that are impossible to express through regex. (particularly nested var, env ...)

See wiki for integration.

Installation

vim-plug

Plug 'Fymyte/rasi.vim'
use {
  'Fymyte/rasi.vim',
  ft = 'rasi',
}

Thanks

  • @CantoroMC for base plugin. (repository has been deleted)