Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding comment quotes so that Emacs syntax highlighting works #533

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tcl/mfcmd.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ proc execShAndGetEnv {elt_ignored_list shell script args} {
set varre {export (\S+?)=["']?(.*?)["']?$}
set funcre {(\S+?) \(\)\s?\n?{\s?\n(.+?)\n}$}
set aliasre {(\S+?)='(.*?)'$}
set varvalmap [list {\"} {"} \\\\ \\]
set varvalmap [list {\"} \" \\\\ \\]
set alvalmap [list {'\''} ' {'"'"'} ']
}
bash {
Expand All @@ -1382,7 +1382,7 @@ proc execShAndGetEnv {elt_ignored_list shell script args} {
set aliasre {alias (\S+?)='(.*?)'$}
set compre {complete (.+?) (\S+?)$}
set comprevar [list match value name]
set varvalmap [list {\"} {"} \\\\ \\]
set varvalmap [list {\"} \" \\\\ \\]
set alvalmap [list {'\''} ']
lappend shellopts --noprofile --norc
}
Expand All @@ -1397,7 +1397,7 @@ proc execShAndGetEnv {elt_ignored_list shell script args} {
set aliasre {alias (\S+?)='(.*?)'$}
set compre {complete (.+?) (\S+?)$}
set comprevar [list match value name]
set varvalmap [list {\"} {"} \\\\ \\]
set varvalmap [list {\"} \" \\\\ \\]
set alvalmap [list {'\''} ']
lappend shellopts --noprofile --norc
}
Expand All @@ -1413,7 +1413,7 @@ proc execShAndGetEnv {elt_ignored_list shell script args} {
set funcre {(\S+?)\(\) {\n?(.+?)}[;\n]?$}
set aliasre {(\S+?)=\$?'?(.*?)'?$}
set varvalmap [list {\'} ']
set alvalmap [list {\"} {"} {\\'} ' {\'} ' {\\\\} {\\}]
set alvalmap [list {\"} \" {\\'} ' {\'} ' {\\\\} {\\}]
}
zsh {
##nagelfar ignore +2 Found constant
Expand Down