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:
committed by
Christian Brabandt
parent
5ecee30dcd
commit
b211916e0a
@ -893,6 +893,9 @@ au BufNewFile,BufRead *.fish setf fish
|
|||||||
" Flatpak config
|
" Flatpak config
|
||||||
au BufNewFile,BufRead */flatpak/repo/config setf dosini
|
au BufNewFile,BufRead */flatpak/repo/config setf dosini
|
||||||
|
|
||||||
|
" Flix
|
||||||
|
au BufNewFile,BufRead *.flix setf flix
|
||||||
|
|
||||||
" Focus Executable
|
" Focus Executable
|
||||||
au BufNewFile,BufRead *.fex,*.focexec setf focexec
|
au BufNewFile,BufRead *.fex,*.focexec setf focexec
|
||||||
|
|
||||||
|
|||||||
@ -287,6 +287,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
fgl: ['file.4gl', 'file.4gh', 'file.m4gl'],
|
fgl: ['file.4gl', 'file.4gh', 'file.m4gl'],
|
||||||
firrtl: ['file.fir'],
|
firrtl: ['file.fir'],
|
||||||
fish: ['file.fish'],
|
fish: ['file.fish'],
|
||||||
|
flix: ['file.flix'],
|
||||||
focexec: ['file.fex', 'file.focexec'],
|
focexec: ['file.fex', 'file.focexec'],
|
||||||
form: ['file.frm'],
|
form: ['file.frm'],
|
||||||
forth: ['file.ft', 'file.fth', 'file.4th'],
|
forth: ['file.ft', 'file.fth', 'file.4th'],
|
||||||
|
|||||||
@ -719,6 +719,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1501,
|
||||||
/**/
|
/**/
|
||||||
1500,
|
1500,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user