aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-12-20 19:56:22 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-12-21 11:30:52 +0100
commit0fea57bc7127f4e160c1d66cb3ec910c9ec409a6 (patch)
tree47508b39ab0b913fbbec752efdd3741c67866175 /runtime/lua
parent725d3e25a32f68c30402e0dbd373a93a294ffed6 (diff)
downloadrneovim-0fea57bc7127f4e160c1d66cb3ec910c9ec409a6.tar.gz
rneovim-0fea57bc7127f4e160c1d66cb3ec910c9ec409a6.tar.bz2
rneovim-0fea57bc7127f4e160c1d66cb3ec910c9ec409a6.zip
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 https://github.com/vim/vim/commit/f173f4249fc785fb3e2b341bcfb0f21192cd4bf5 Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 83e82392de..e1751103c4 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -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,