Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RPM Spec file language support #11563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ntonnaett
Copy link

@ntonnaett ntonnaett commented Aug 24, 2024

This adds language support for RPM spec files. The language server works fine. Tree-Sitter grammar support doesn't though. I'm not sure why nor how to debug this. Edit: I missed the queries section in the documentation. Syntax highlighting works fine now.

@kirawi kirawi added the A-language-support Area: Support for programming/text languages label Aug 28, 2024
Comment on lines +12 to +15
[
(integer)
(float)
] @number
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
[
(integer)
(float)
] @number
(integer) @constant.numeric.integer
(float) @constant.numeric.float

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants