mirror of
https://github.com/neovim/neovim.git
synced 2026-05-06 16:29:57 -04: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 https://github.com/vim/vim/commit/b084b8f1db40cba2971db3bdb4528770556e7ddc Co-authored-by: Hoang Nguyen <folliekazetani@protonmail.com>
This commit is contained in:
@@ -1061,6 +1061,7 @@ local extension = {
|
||||
MODX = 'rapid',
|
||||
MODx = 'rapid',
|
||||
rasi = 'rasi',
|
||||
rasinc = 'rasi',
|
||||
rbs = 'rbs',
|
||||
rego = 'rego',
|
||||
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'],
|
||||
\ 'raml': ['file.raml'],
|
||||
\ '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'],
|
||||
\ 'rbs': ['file.rbs'],
|
||||
\ 'rc': ['file.rc', 'file.rch'],
|
||||
|
||||
Reference in New Issue
Block a user