From cc09712d1445fc3ad9807025bf4a730ce6ccb72e Mon Sep 17 00:00:00 2001 From: Shinichi TAMURA Date: Mon, 25 May 2020 12:50:30 +0900 Subject: [PATCH] set bash-fc file's syntax as shell (#1679) * set bash-fc file's syntax as shell * remove dups from shell file matcher --- runtime/syntax/sh.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/sh.yaml b/runtime/syntax/sh.yaml index 54268269..6898d90a 100644 --- a/runtime/syntax/sh.yaml +++ b/runtime/syntax/sh.yaml @@ -1,7 +1,7 @@ filetype: shell detect: - filename: "(\\.sh$|\\.bash|\\.ash|\\.bashrc|bashrc|\\.bash_aliases|bash_aliases|\\.bash_functions|bash_functions|\\.bash_profile|bash_profile|\\.profile|profile|Pkgfile|pkgmk.conf|profile|rc.conf|PKGBUILD|.ebuild\\$|APKBUILD)" + filename: "(\\.sh$|\\.bash|\\.ash|bashrc|bash_aliases|bash_functions|profile|bash-fc\\.|Pkgfile|pkgmk.conf|rc.conf|PKGBUILD|.ebuild\\$|APKBUILD)" header: "^#!.*/(env +)?(ba)?(a)?sh( |$)" rules: