rasi.vim
rasi.vim copied to clipboard
Rofi config syntax highlighting for vim
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)
With tree-sitter highlighting:
Colorscheme: kanagawa.nvim
Dependencies
Optionnal
- vim-css-color for better color support (see wiki)
Treesitter
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'
Packer
use {
'Fymyte/rasi.vim',
ft = 'rasi',
}
Thanks
- @CantoroMC for base plugin. (repository has been deleted)