Skip to content

Add Kotlin syntax highlighting - #186

Open
meldron wants to merge 1 commit into
jnsahaj:mainfrom
meldron:kotlin-syntax-highlighting
Open

Add Kotlin syntax highlighting#186
meldron wants to merge 1 commit into
jnsahaj:mainfrom
meldron:kotlin-syntax-highlighting

Conversation

@meldron

@meldron meldron commented Jul 21, 2026

Copy link
Copy Markdown

Hey there,

great tool thanks a lot!

My daily work contains much reviewing of Kotlin code and like i would really like to add syntax highlighting for it to lumen.

Sadly Kotlin tree-sitter support is not perfect. I chose tree_sitter_kotlin_sg because it exposes a HIGHLIGHTS_QUERY, which I then could map to lumens highlight categories.

Fixes #180

@julianfbeck

Copy link
Copy Markdown

Would love to see this merged soon as well :)

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.

Kotlin files are not syntax-highlighted

2 participants