summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorPierrick Guillaume <pierguill@gmail.com>2024-05-31 12:00:49 +0200
committerChristian Brabandt <cb@256bit.org>2024-05-31 12:00:49 +0200
commit280e5b13ca568ed592a894140bf1ac74356f4b33 (patch)
tree03b2a975a9d335c1c6f3d9b8a7155be33ca22ef2 /runtime/filetype.vim
parent7129f2ad2fd9de3e3812a569ba3ad6bf162fd238 (diff)
patch 9.1.0453: filetype: rasi files are not recognizedv9.1.0453
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: #14821 Signed-off-by: Pierrick Guillaume <pierguill@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 4da25ff6ef..27879d4976 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2024 May 23
+" Last Change: 2024 May 31
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Listen very carefully, I will say this only once
@@ -3150,6 +3150,9 @@ au BufNewFile,BufRead yarn.lock setf yaml
" Zathurarc
au BufNewFile,BufRead zathurarc setf zathurarc
+" Rofi stylesheet
+au BufNewFile,BufRead *.rasi setf rasi
+
" If the GUI is already running, may still need to install the Syntax menu.
" Don't do it when the 'M' flag is included in 'guioptions'.
if has("menu") && has("gui_running")