aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-23 11:18:30 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-24 14:15:16 -0500
commit2ce7e4e8a7cba701685ab8413153157510d18da3 (patch)
treeef6bae7cb718939719922bb2b011d340a57b8575 /src
parent69103ff0cf9e23e4f003c9f22f482b3d52bf7892 (diff)
downloadrneovim-2ce7e4e8a7cba701685ab8413153157510d18da3.tar.gz
rneovim-2ce7e4e8a7cba701685ab8413153157510d18da3.tar.bz2
rneovim-2ce7e4e8a7cba701685ab8413153157510d18da3.zip
vim-patch:8.2.2392: fennel filetype not recognized
Problem: Fennel filetype not recognized. Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729) https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_filetype.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim
index 815827e224..74437b050e 100644
--- a/src/nvim/testdir/test_filetype.vim
+++ b/src/nvim/testdir/test_filetype.vim
@@ -171,6 +171,7 @@ let s:filename_checks = {
\ 'factor': ['file.factor'],
\ 'falcon': ['file.fal'],
\ 'fan': ['file.fan', 'file.fwt'],
+ \ 'fennel': ['file.fnl'],
\ 'fetchmail': ['.fetchmailrc'],
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
\ 'focexec': ['file.fex', 'file.focexec'],
@@ -622,6 +623,7 @@ let s:script_checks = {
\ ['// -*- C++ -*-']],
\ 'yaml': [['%YAML 1.2']],
\ 'pascal': [['#!/path/instantfpc']],
+ \ 'fennel': [['#!/path/fennel']],
\ }
" Various forms of "env" optional arguments.