mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
07af492f63
Problem: filetype: rasi files are not recognized
Solution: regonize '*.rasi' files as rasi filetype,
include a filetype and syntax plugin
(Pierrick Guillaume)
ported from: https://github.com/Fymyte/rasi.vim
closes: vim/vim#14821
280e5b13ca
Co-authored-by: Pierrick Guillaume <pierguill@gmail.com>
26 lines
469 B
VimL
26 lines
469 B
VimL
" Vim filetype plugin file
|
|
" Language: RASI
|
|
" Maintainer: Pierrick Guillaume <pierguill@gmail.com>
|
|
" Last Change: 2024 May 21
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
let s:cpo_save = &cpo
|
|
set cpo&vim
|
|
|
|
let b:undo_ftplugin = "setl com< cms< isk< inc<"
|
|
|
|
setlocal comments=s1:/*,mb:*,ex:*/
|
|
setlocal commentstring=//\ %s
|
|
setlocal iskeyword+=-
|
|
|
|
let &l:include = '^\s*@import\s\+\%(url(\)\='
|
|
|
|
let &cpo = s:cpo_save
|
|
unlet s:cpo_save
|
|
|
|
" vim: ts=8
|