Skip to content

Conversation

@kdheepak
Copy link
Contributor

@kdheepak kdheepak commented Jul 24, 2024

This PR adds markdown syntax highlighting and bash command line syntax highlighting for the appropriate Julia expressions.

bash syntax highlighting:

image

markdown syntax highlighting:

image

This PR also adds a comment for each injection.

@clason
Copy link
Contributor

clason commented Jul 24, 2024

@savq

@clason clason merged commit a0732ca into nvim-treesitter:master Jul 24, 2024
@kdheepak kdheepak deleted the kd/julia branch July 24, 2024 09:57
@savq
Copy link
Contributor

savq commented Jul 25, 2024

Note that julia command literals only parse simple commands. Pipelines, control operators, etc. are not parsed.

Beginners regularly get confused when Julia commands don't work like their shell, so let's hope this doesn't cause more confusion 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants