mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
vim-patch:9.1.0266: filetype: earthfile files are not recognized (#28207)
Problem: filetype: earthfile files are not recognized
Solution: Detect 'Earthfile' as earthfile
(Gaëtan Lehmann)
closes: vim/vim#14408
28e5e7c484
Co-authored-by: Gaëtan Lehmann <gaetan.lehmann@gmail.com>
This commit is contained in:
parent
0443f06b71
commit
7560aee595
@ -1293,6 +1293,7 @@ local filename = {
|
||||
jbuild = 'dune',
|
||||
['dune-workspace'] = 'dune',
|
||||
['dune-project'] = 'dune',
|
||||
Earthfile = 'earthfile',
|
||||
['.editorconfig'] = 'editorconfig',
|
||||
['elinks.conf'] = 'elinks',
|
||||
['mix.lock'] = 'elixir',
|
||||
|
@ -221,6 +221,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'dylan': ['file.dylan'],
|
||||
\ 'dylanintr': ['file.intr'],
|
||||
\ 'dylanlid': ['file.lid'],
|
||||
\ 'earthfile': ['Earthfile'],
|
||||
\ 'ecd': ['file.ecd'],
|
||||
\ 'edif': ['file.edf', 'file.edif', 'file.edo'],
|
||||
\ 'editorconfig': ['.editorconfig'],
|
||||
|
Loading…
Reference in New Issue
Block a user