Skip to content

support cython #14128

Merged
the-mikedavis merged 4 commits intohelix-editor:masterfrom
c0rydoras:cython-support
Aug 31, 2025
Merged

support cython #14128
the-mikedavis merged 4 commits intohelix-editor:masterfrom
c0rydoras:cython-support

Conversation

@c0rydoras
Copy link
Contributor

@c0rydoras c0rydoras commented Jul 30, 2025

add support for cython

image image

@c0rydoras c0rydoras changed the title feat: support cython support cython Jul 30, 2025
@c0rydoras c0rydoras force-pushed the cython-support branch 2 times, most recently from 2137536 to 11d4035 Compare July 31, 2025 00:04
@c0rydoras
Copy link
Contributor Author

I'm not quite sure how to translate the neovim indents to helix, e.g. the

((list) @indent.align
  (#set! indent.open_delimiter "[")
  (#set! indent.close_delimiter "]"))

@the-mikedavis
Copy link
Member

See https://docs.helix-editor.com/master/guides/indent.html

The python indents can also be used as a reference. We could start with no indents and add them later, too

@c0rydoras c0rydoras force-pushed the cython-support branch 2 times, most recently from 4592c94 to c8d88e0 Compare August 8, 2025 06:48
Comment on lines 83 to 92
] @boolean

[
(integer)
(float)
] @number

(comment) @comment
(string) @string
(escape_sequence) @escape
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the captures here need to be adapted to the ones that Helix uses, see https://docs.helix-editor.com/master/themes.html#syntax-highlighting

For example boolean should become constant.builtin.boolean, escape should become constant.character.escape

@c0rydoras c0rydoras force-pushed the cython-support branch 2 times, most recently from 120d605 to f7741f9 Compare August 15, 2025 16:38
* property -> variable.other.member in highlights.scm
* add definition highlight capture to local.definition in locals.scm
@the-mikedavis the-mikedavis merged commit 7c37e8a into helix-editor:master Aug 31, 2025
7 checks passed
@c0rydoras c0rydoras deleted the cython-support branch September 2, 2025 14:05
kfatyuip pushed a commit to kfatyuip/helix that referenced this pull request Nov 21, 2025
tomgroenwoldt pushed a commit to tomgroenwoldt/helix that referenced this pull request Jan 15, 2026
Eucladia pushed a commit to Eucladia/helix that referenced this pull request Jan 20, 2026
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.

2 participants