forked from aniani/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: #16262 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
2328a39a54
commit
f173f4249f
@ -844,7 +844,7 @@ au BufNewFile,BufRead *.fan,*.fwt setf fan
|
||||
au BufNewFile,BufRead *.factor setf factor
|
||||
|
||||
" Fennel
|
||||
autocmd BufRead,BufNewFile *.fnl setf fennel
|
||||
autocmd BufRead,BufNewFile *.fnl,{,.}fennelrc setf fennel
|
||||
|
||||
" Fetchmail RC file
|
||||
au BufNewFile,BufRead .fetchmailrc setf fetchmail
|
||||
|
@ -273,7 +273,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
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'],
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
950,
|
||||
/**/
|
||||
949,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user