Repository navigation
Enable extending syntaxes to override indentation constraints - #224
Merged
Merged
Conversation
This commit introduces `no_indent` variable, inspired by Bash, to enable extending syntaxes to override indentation constraints. Use cases: - embed powershell in indented fenced code blocks in Markdown - embed powershell in YAML files, such as Github Action workflows Alternative: A more general and easier to use approach would be to accept ST not tracking indentation and just allow to terminate HEREDOCs regardless leading whitespace in general.
This commit introduces
no_indentvariable, inspired by Bash, to enable extending syntaxes to override indentation constraints.Use cases:
Alternative:
A more general and easier to use approach would be to accept ST not tracking indentation and just allow to terminate HEREDOCs regardless leading whitespace in general. It would enable proper highlighting without further meassures being taken on 3rd-party syntaxes.