forked from aniani/vim
patch 9.1.0875: filetype: hyprlang detection can be improved
Problem: filetype: hyprlang detection can be improved Solution: detect '/hypr/*.conf' files as hyprlang filetype, include basic syntax highlighting (Luca Saccarola) fixes: #15875 closes: #16064 Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
fdac54d7bb
commit
a13bd294ab
@@ -354,7 +354,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
htmlm4: ['file.html.m4'],
|
||||
httest: ['file.htt', 'file.htb'],
|
||||
hurl: ['file.hurl'],
|
||||
hyprlang: ['hyprlock.conf', 'hyprland.conf', 'hypridle.conf', 'hyprpaper.conf'],
|
||||
hyprlang: ['hyprlock.conf', 'hyprland.conf', 'hypridle.conf', 'hyprpaper.conf', '/hypr/foo.conf'],
|
||||
i3config: ['/home/user/.i3/config', '/home/user/.config/i3/config', '/etc/i3/config', '/etc/xdg/i3/config'],
|
||||
ibasic: ['file.iba', 'file.ibi'],
|
||||
icemenu: ['/.icewm/menu', 'any/.icewm/menu'],
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
875,
|
||||
/**/
|
||||
874,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user