patch 9.1.1042: filetype: just files are not recognized
Problem: filetype: just files are not recognized
Solution: adjust filetype detection pattern, detect just shebang line,
include just ftplugin, indent and syntax plugin
(Peter Benjamin)
closes: #16466
Signed-off-by: Peter Benjamin <petermbenjamin@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index d84b22b..9faa272 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -999,6 +999,7 @@
expect: [['#!/path/expect']],
execline: [['#!/sbin/execlineb -S0'], ['#!/usr/bin/execlineb']],
gnuplot: [['#!/path/gnuplot']],
+ just: [['#!/path/just']],
make: [['#!/path/make']],
nix: [['#!/path/nix-shell']],
pike: [['#!/path/pike'],
diff --git a/src/version.c b/src/version.c
index 5b3683d..286cbec 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1042,
+/**/
1041,
/**/
1040,