diff options
author | Mazunki Hoksaas <rolferen@gmail.com> | 2023-12-19 20:44:41 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-12-19 20:44:41 +0100 |
commit | 63210c214afa6589b6132bd060908a8711f4567f (patch) | |
tree | 5705973c5ca9f43d673f39aed6b4f3394575349f /src/testdir | |
parent | 615202bd0ebc1d8e3532f24b9b7232c2fd86b181 (diff) |
patch 9.0.2179: no filetype detection for execline scriptsv9.0.2179
Problem: no filetype detection for execline scripts
Solution: Add filetype detection for execline
as a prior to adding syntax support for execline (see
https://github.com/djpohly/vim-execline/issues/2), i went ahead and made
the filetype detection for execline scripts.
closes: #13689
Signed-Off-By: Mazunki Hoksaas <rolferen@gmail.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index f51cd719fb..fe22069a53 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -236,6 +236,7 @@ def s:GetFilenameChecks(): dict<list<string>> esqlc: ['file.ec', 'file.EC'], esterel: ['file.strl'], eterm: ['anyEterm/file.cfg', 'Eterm/file.cfg', 'some-Eterm/file.cfg'], + execline: ['/etc/s6-rc/run', './s6-rc/src/dbus-srv/up', '/sbin/s6-shutdown'], exim: ['exim.conf'], expect: ['file.exp'], exports: ['exports'], @@ -915,6 +916,7 @@ def s:GetScriptChecks(): dict<list<list<string>>> ['#!/path/itclsh'], ['#!/path/itkwish']], expect: [['#!/path/expect']], + execline: [['#!/sbin/execlineb -S0'], ['#!/usr/bin/execlineb']], gnuplot: [['#!/path/gnuplot']], make: [['#!/path/make']], nix: [['#!/path/nix-shell']], @@ -970,6 +972,7 @@ def s:GetScriptEnvChecks(): dict<list<list<string>>> perl: [['#!/usr/bin/env VAR=val perl']], scala: [['#!/usr/bin/env VAR=val VVAR=vval scala']], awk: [['#!/usr/bin/env VAR=val -i awk']], + execline: [['#!/usr/bin/env execlineb']], scheme: [['#!/usr/bin/env VAR=val --ignore-environment scheme']], python: [['#!/usr/bin/env VAR=val -S python -w -T']], wml: [['#!/usr/bin/env VAR=val --split-string wml']], |