]> git.lizzy.rs Git - micro.git/commitdiff
set bash-fc file's syntax as shell (#1679)
authorShinichi TAMURA <hello@tmshn.dev>
Mon, 25 May 2020 03:50:30 +0000 (12:50 +0900)
committerGitHub <noreply@github.com>
Mon, 25 May 2020 03:50:30 +0000 (23:50 -0400)
* set bash-fc file's syntax as shell

* remove dups from shell file matcher

runtime/syntax/sh.yaml

index 54268269b88559a0c28449b5668b80d49c793159..6898d90a3c662df79578465c6250f1bc6caacda6 100644 (file)
@@ -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: