[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] syntax: tcl: support exp (Expect) scripts too
From: |
Mike Frysinger |
Subject: |
[PATCH] syntax: tcl: support exp (Expect) scripts too |
Date: |
Mon, 5 Apr 2021 01:54:51 -0400 |
---
syntax/tcl.nanorc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/syntax/tcl.nanorc b/syntax/tcl.nanorc
index b9a8c611c07b..f205aad8da3e 100644
--- a/syntax/tcl.nanorc
+++ b/syntax/tcl.nanorc
@@ -1,6 +1,7 @@
## Syntax highlighting for Tcl files.
-syntax tcl "\.tcl$"
+# Handle exepct & TCL scripts.
+syntax tcl "\.(exp|tcl)$"
magic "Tcl(/Tk)? script"
comment "#"
--
2.30.2
- [PATCH] syntax: tcl: support exp (Expect) scripts too,
Mike Frysinger <=