patch 9.1.1501: filetype: flix files are not recognized

Problem:  filetype: flix files are not recognized
Solution: detect *.flix files as flix filetype
          (0xadk)

References:
- https://flix.dev/
- https://doc.flix.dev/introduction.html

closes: #17646

Signed-off-by: 0xadk <0xadk@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
0xadk
2025-07-02 18:55:55 +02:00
committed by Christian Brabandt
parent 5ecee30dcd
commit b211916e0a
3 changed files with 6 additions and 0 deletions

View File

@ -893,6 +893,9 @@ au BufNewFile,BufRead *.fish setf fish
" Flatpak config
au BufNewFile,BufRead */flatpak/repo/config setf dosini
" Flix
au BufNewFile,BufRead *.flix setf flix
" Focus Executable
au BufNewFile,BufRead *.fex,*.focexec setf focexec

View File

@ -287,6 +287,7 @@ def s:GetFilenameChecks(): dict<list<string>>
fgl: ['file.4gl', 'file.4gh', 'file.m4gl'],
firrtl: ['file.fir'],
fish: ['file.fish'],
flix: ['file.flix'],
focexec: ['file.fex', 'file.focexec'],
form: ['file.frm'],
forth: ['file.ft', 'file.fth', 'file.4th'],

View File

@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1501,
/**/
1500,
/**/