mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:9.1.0950: filetype: fennelrc files are not recognized
Problem: filetype: fennelrc files are not recognized
Solution: detect 'fennelrc' files as fennel filetype
(Wu Zhenyu)
References:
https://github.com/bakpakin/Fennel/issues/193
closes: vim/vim#16262
f173f4249f
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:

committed by
Christian Clason

parent
725d3e25a3
commit
0fea57bc71
@@ -1544,6 +1544,8 @@ local filename = {
|
||||
['filter-rules'] = 'elmfilt',
|
||||
['exim.conf'] = 'exim',
|
||||
exports = 'exports',
|
||||
fennelrc = 'fennel',
|
||||
['.fennelrc'] = 'fennel',
|
||||
['.fetchmailrc'] = 'fetchmail',
|
||||
fvSchemes = detect.foam,
|
||||
fvSolution = detect.foam,
|
||||
|
@@ -273,7 +273,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'falcon': ['file.fal'],
|
||||
\ 'fan': ['file.fan', 'file.fwt'],
|
||||
\ 'faust': ['file.dsp', 'file.lib'],
|
||||
\ 'fennel': ['file.fnl'],
|
||||
\ 'fennel': ['file.fnl', '.fennelrc', 'fennelrc'],
|
||||
\ 'fetchmail': ['.fetchmailrc'],
|
||||
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
|
||||
\ 'firrtl': ['file.fir'],
|
||||
|
Reference in New Issue
Block a user