aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2020-04-24 16:37:16 -0400
committerKen Moore <moorekou@gmail.com>2020-04-24 16:37:16 -0400
commit94c923507b0db790e5c48b79c2bf51e61e2057c4 (patch)
tree58398e38a77726273491368edbdb93d87a72a86e /src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax
parentFix up the detection of icons for windows. (diff)
downloadlumina-94c923507b0db790e5c48b79c2bf51e61e2057c4.tar.gz
lumina-94c923507b0db790e5c48b79c2bf51e61e2057c4.tar.bz2
lumina-94c923507b0db790e5c48b79c2bf51e61e2057c4.zip
Update some syntax highlighting handling.
Prevent multi-line rules from starting within a section that was handled by a single-line rule earlier. Also add a 1s delay/timer on file reload if it changes in the background. Also add detection for bash scripts automatically
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax
index f2256731..6ca832e9 100644
--- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax
+++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/sh.syntax
@@ -9,7 +9,7 @@
"meta": {
"name": "Shell",
"file_suffix": ["sh"],
- "first_line_match":["#!/bin/sh", "#!/sbin/openrc-run"]
+ "first_line_match":["#!/bin/sh", "#!/bin/bash","#!/bin/env bash","#!/sbin/openrc-run"]
},
"format": {
"line_wrap": false,
bgstack15