-
Notifications
You must be signed in to change notification settings - Fork 249
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
Syntax recognition Procfile #770
Comments
This sounds like a good use case for an extension. |
@maxdeviant : Actually I made a mistake, I wanted to publish them on |
I transferred the issues to the extensions repo since these issues should be solved via extensions. |
@maxdeviant : Do you think something like this could be fixed as ;; highlights.scm
;; Define the highlight groups for different nodes.
((variable) @variable
"keyword" @keyword
"string" @string
"constant" @constant
"function" @function
"type" @type
"property" @property
"tag" @tag)
;; Match nodes and apply highlight groups.
[(variable_name) (scoped_identifier) (identifier)] @variable
[(true) (false) (null)] @constant
(string_literal) @string
[(function_definition) (method_definition) (generator_function_definition)] @function
[(class_definition) (interface_definition) (type_alias)] @type
(property_identifier) @property
(tag_name) @tag
;; Custom matches for Procfile syntax highlighting.
[(command_name)] @keyword
[(command_argument)] @string
[(environment_variable)] @constant |
Check for existing issues
Describe the feature
Vscode:
![Screenshot 2024-05-22 alle 15 34 04](https://private-user-images.githubusercontent.com/20476002/332817439-7d175e0b-2c0b-4d13-a80d-bf7d690826ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExODg5MTksIm5iZiI6MTcyMTE4ODYxOSwicGF0aCI6Ii8yMDQ3NjAwMi8zMzI4MTc0MzktN2QxNzVlMGItMmMwYi00ZDEzLWE4MGQtYmY3ZDY5MDgyNmVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDAzNTY1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAxNzI1ZDAxMTI0NDM4ZmI3NTAwMTRlNzc1NmU5YmNhNzkxYzdiMWVjMDA1ZGUyY2U1ZDY5NDBmN2IzNDY1MWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.iKrN0QDoPkPYjz4lnqluORDrYaMmyf1ertlGovGaC_8)
Zed:
![Screenshot 2024-05-22 alle 15 34 45](https://private-user-images.githubusercontent.com/20476002/332817648-355a8864-9188-4d0a-8bbf-19e2589950a8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExODg5MTksIm5iZiI6MTcyMTE4ODYxOSwicGF0aCI6Ii8yMDQ3NjAwMi8zMzI4MTc2NDgtMzU1YTg4NjQtOTE4OC00ZDBhLThiYmYtMTllMjU4OTk1MGE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDAzNTY1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0YjI5YjJjZTJlYTgyMDQ0NTFiOTBkYmFjZTQzMTQwZWM5YWNiZjI4YTlhNzdiOWMwZTI0Nzg1MDBhOTcwY2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KROIqFEkGntmDy80IXFmBecChUpOYBjITy0r8mTvEto)
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: