mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +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',
|
||||
fir = 'firrtl',
|
||||
fish = 'fish',
|
||||
flix = 'flix',
|
||||
focexec = 'focexec',
|
||||
fex = 'focexec',
|
||||
ft = 'forth',
|
||||
|
@ -287,6 +287,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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'],
|
||||
|
Reference in New Issue
Block a user