mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +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',
|
['filter-rules'] = 'elmfilt',
|
||||||
['exim.conf'] = 'exim',
|
['exim.conf'] = 'exim',
|
||||||
exports = 'exports',
|
exports = 'exports',
|
||||||
|
fennelrc = 'fennel',
|
||||||
|
['.fennelrc'] = 'fennel',
|
||||||
['.fetchmailrc'] = 'fetchmail',
|
['.fetchmailrc'] = 'fetchmail',
|
||||||
fvSchemes = detect.foam,
|
fvSchemes = detect.foam,
|
||||||
fvSolution = detect.foam,
|
fvSolution = detect.foam,
|
||||||
|
@@ -273,7 +273,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ 'falcon': ['file.fal'],
|
\ 'falcon': ['file.fal'],
|
||||||
\ 'fan': ['file.fan', 'file.fwt'],
|
\ 'fan': ['file.fan', 'file.fwt'],
|
||||||
\ 'faust': ['file.dsp', 'file.lib'],
|
\ 'faust': ['file.dsp', 'file.lib'],
|
||||||
\ 'fennel': ['file.fnl'],
|
\ 'fennel': ['file.fnl', '.fennelrc', 'fennelrc'],
|
||||||
\ 'fetchmail': ['.fetchmailrc'],
|
\ 'fetchmail': ['.fetchmailrc'],
|
||||||
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
|
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
|
||||||
\ 'firrtl': ['file.fir'],
|
\ 'firrtl': ['file.fir'],
|
||||||
|
Reference in New Issue
Block a user