mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-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: vim/vim#17646
b211916e0a
Co-authored-by: 0xadk <0xadk@users.noreply.github.com>
This commit is contained in:

committed by
Christian Clason

parent
535e292436
commit
da42f99eb4
@@ -464,6 +464,7 @@ local extension = {
|
|||||||
['4gh'] = 'fgl',
|
['4gh'] = 'fgl',
|
||||||
fir = 'firrtl',
|
fir = 'firrtl',
|
||||||
fish = 'fish',
|
fish = 'fish',
|
||||||
|
flix = 'flix',
|
||||||
focexec = 'focexec',
|
focexec = 'focexec',
|
||||||
fex = 'focexec',
|
fex = 'focexec',
|
||||||
ft = 'forth',
|
ft = 'forth',
|
||||||
|
@@ -287,6 +287,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ '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'],
|
||||||
|
Reference in New Issue
Block a user