[vim/vim] runtime(marko): add Marko syntax highlighting (PR #20863)

2 views
Skip to first unread message

Brian Carbone

unread,
12:29 PM (9 hours ago) 12:29 PM
to vim/vim, Subscribed

Adds syntax highlighting, filetype detection, and syntax screendump tests for Marko templates (*.marko), an HTML-based language that embeds TypeScript expressions and CSS style blocks in both an HTML-like and an indentation-based concise mode.

References:

Implemented & refined iteratively using Fable 5 & Opus 5.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20863

Commit Summary

  • 748ded4 runtime(marko): add Marko syntax highlighting

File Changes

(11 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20863@github.com>

Brian Carbone

unread,
2:10 PM (7 hours ago) 2:10 PM
to vim/vim, Subscribed
briancarbone left a comment (vim/vim#20863)
image.png (view on web)

Switched to a modal (HTML or concise) structure; the first commit was rather poor in concise mode. Tested against cases from the language server and tree-sitter repositories; passes all of them. Example above.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20863/c5107951143@github.com>

Christian Brabandt

unread,
3:00 PM (6 hours ago) 3:00 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20863)

Thanks. I'll also update the MAINTAINERS file and move the filetype detection to runtime/autoload/dist/ft.vim


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20863/c5108482856@github.com>

Reply all
Reply to author
Forward
0 new messages