moe icon indicating copy to clipboard operation
moe copied to clipboard

Supports shell script

Open fox0430 opened this issue 4 years ago • 1 comments

fox0430 avatar Nov 09 '19 13:11 fox0430

Syntax highlighting.

fox0430 avatar Jul 22 '20 07:07 fox0430

@fox0430

Which actual shells shall be supported in detail? I assume definitely Bash as the syntax highlighting is triggered by the extension *.bash in addition to the generic extension *.sh. I found a keyword list for many common shells, including Bash. The question is merely whether I shall incorporate the support for the others, as well. If so, I would also add support for their file extensions.

kevinmatthes avatar Dec 08 '22 17:12 kevinmatthes

@kevinmatthes

I plan to support sh and bash. Also, I personally want fish shell support, but it's a low priority.

fox0430 avatar Dec 08 '22 17:12 fox0430

@fox0430

Okay, I will restrict the keywords to Bash and Sh, then. Shall I add the Bash configuration files to the file extensions triggers for the syntax highlighting, if appropriate?

kevinmatthes avatar Dec 08 '22 17:12 kevinmatthes

@kevinmatthes

That's good. Yes please.

fox0430 avatar Dec 08 '22 17:12 fox0430