mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
vim-patch:9.1.2060: filetype: Rasi include files are not recognized
Problem: filetype: Rasi include files are not recognized
Solution: Detect *.rasinc as rasi filetype (Hoang Nguyen)
Reference:
- https://github.com/davatorium/rofi/blob/next/doc/rofi-theme.5.markdown#file-extension
closes: vim/vim#19103
b084b8f1db
Co-authored-by: Hoang Nguyen <folliekazetani@protonmail.com>
This commit is contained in:
@@ -1061,6 +1061,7 @@ local extension = {
|
|||||||
MODX = 'rapid',
|
MODX = 'rapid',
|
||||||
MODx = 'rapid',
|
MODx = 'rapid',
|
||||||
rasi = 'rasi',
|
rasi = 'rasi',
|
||||||
|
rasinc = 'rasi',
|
||||||
rbs = 'rbs',
|
rbs = 'rbs',
|
||||||
rego = 'rego',
|
rego = 'rego',
|
||||||
rem = 'remind',
|
rem = 'remind',
|
||||||
|
|||||||
@@ -671,7 +671,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'],
|
\ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'],
|
||||||
\ 'raml': ['file.raml'],
|
\ 'raml': ['file.raml'],
|
||||||
\ 'rapid': ['file.sysx', 'file.Sysx', 'file.SysX', 'file.SYSx', 'file.SYSX', 'file.modx', 'file.Modx', 'file.ModX', 'file.MODx', 'file.MODX'],
|
\ 'rapid': ['file.sysx', 'file.Sysx', 'file.SysX', 'file.SYSx', 'file.SYSX', 'file.modx', 'file.Modx', 'file.ModX', 'file.MODx', 'file.MODX'],
|
||||||
\ 'rasi': ['file.rasi'],
|
\ 'rasi': ['file.rasi', 'file.rasinc'],
|
||||||
\ 'ratpoison': ['.ratpoisonrc', 'ratpoisonrc'],
|
\ 'ratpoison': ['.ratpoisonrc', 'ratpoisonrc'],
|
||||||
\ 'rbs': ['file.rbs'],
|
\ 'rbs': ['file.rbs'],
|
||||||
\ 'rc': ['file.rc', 'file.rch'],
|
\ 'rc': ['file.rc', 'file.rch'],
|
||||||
|
|||||||
Reference in New Issue
Block a user