[vim/vim] runtime(marko): add Marko syntax highlighting (PR #20863)
Brian Carbone (Vim Github Repository) <[email protected]> Tue, 28 Jul 2026 09:29:13 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/pull/[email protected]> |
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:
- https://markojs.com — the Marko language
- https://github.com/marko-js/tree-sitter — grammar this file's constructs were checked against
- https://github.com/marko-js/language-server — language server and the TextMate grammar used as a keyword reference
- https://v5.markojs.com/docs/editor-plugins/ — existing editor support
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 --
* runtime(marko): add Marko syntax highlighting
-- File Changes --
M runtime/filetype.vim (3)
A runtime/syntax/marko.vim (307)
A runtime/syntax/testdir/dumps/marko_00.dump (20)
A runtime/syntax/testdir/dumps/marko_01.dump (20)
A runtime/syntax/testdir/dumps/marko_02.dump (20)
A runtime/syntax/testdir/dumps/marko_concise_00.dump (20)
A runtime/syntax/testdir/dumps/marko_concise_01.dump (20)
A runtime/syntax/testdir/dumps/marko_concise_02.dump (20)
A runtime/syntax/testdir/input/marko.marko (35)
A runtime/syntax/testdir/input/marko_concise.marko (43)
M src/testdir/test_filetype.vim (1)
-- Patch Links --
https://github.com/vim/vim/pull/20863.patch
https://github.com/vim/vim/pull/20863.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/20863
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/pull/[email protected]>
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/20863%40github.com.