mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
vim-patch:9.1.2008: filetype: hylo files are not recognized
Problem: filetype: hylo files are not recognized
Solution: Detect *.hylo files as hylo filetype (Ambrus Tóth)
References:
- https://hylo-lang.org/
closes: vim/vim#18994
9c9982240a
Co-authored-by: Ambrus Tóth <ping@ambrus.dev>
This commit is contained in:
@@ -614,6 +614,7 @@ local extension = {
|
||||
module = detect.hw,
|
||||
pkg = detect.hw,
|
||||
hy = 'hy',
|
||||
hylo = 'hylo',
|
||||
iba = 'ibasic',
|
||||
ibi = 'ibasic',
|
||||
icn = 'icon',
|
||||
|
||||
@@ -380,6 +380,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'http': ['file.http'],
|
||||
\ 'hurl': ['file.hurl'],
|
||||
\ 'hy': ['file.hy', '.hy-history'],
|
||||
\ 'hylo': ['file.hylo'],
|
||||
\ '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'],
|
||||
|
||||
Reference in New Issue
Block a user