Support for rasi filetype has been merged in vim and neovim and should be available in next release of respective projects.
Add syntax highlighting support for rasi config file
The syntax is based on the rofi-theme man page. (v1.7.2)
Colorscheme: kanagawa.nvim
Optionnal
- vim-css-color for better color support (see wiki)
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.
Plug 'Fymyte/rasi.vim'
use {
'Fymyte/rasi.vim',
ft = 'rasi',
}
- @CantoroMC for base plugin. (repository has been deleted)