]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/sh.micro
Remove duplicate PKGBUILD filetype
[micro.git] / runtime / syntax / sh.micro
index 089b59e7958547d433e555d3efce291abe6555c6..b9d125454030d599d8e5494a5fde42888590e421 100644 (file)
@@ -1,8 +1,8 @@
-syntax "shell" "\.sh$" "\.bash" "\.bashrc" "bashrc" "\.bash_aliases" "bash_aliases" "\.bash_functions" "bash_functions" "\.bash_profile" "bash_profile" "Pkgfile" "PKGBUILD" ".ebuild\$" "APKBUILD"
+syntax "shell" "\.sh$" "\.bash" "\.bashrc" "bashrc" "\.bash_aliases" "bash_aliases" "\.bash_functions" "bash_functions" "\.bash_profile" "bash_profile" "Pkgfile" "pkgmk.conf" "profile" "rc.conf" "PKGBUILD" ".ebuild\$" "APKBUILD"
 header "^#!.*/(env +)?(ba)?sh( |$)"
 
 # Numbers
-color constant "\b[0-9]+\b"
+color constant.number "\b[0-9]+\b"
 
 # Conditionals and control flow
 color statement "\b(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\b"
@@ -22,8 +22,8 @@ color statement "--[a-z-]+"
 color statement "\ -[a-z]+"
 
 # Strings
-color constant ""(\\.|[^"])*""
-color constant "'(\\.|[^'])*'"
+color constant.string ""(\\.|[^"])*""
+color constant.string "'(\\.|[^'])*'"
 color special """
 color special "'"
 
@@ -33,4 +33,4 @@ color identifier (i) "\$\{?[0-9A-Z_!@#$*?-]+\}?"
 
 # Comments & TODOs
 color comment "(^|[[:space:]])#.*$"
-color todo "(TODO|XXX|FIXME):?"
\ No newline at end of file
+color todo "(TODO|XXX|FIXME):?"