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

QML syntax #962

Closed
pylipp opened this issue Apr 29, 2020 · 2 comments
Closed

QML syntax #962

pylipp opened this issue Apr 29, 2020 · 2 comments

Comments

@pylipp
Copy link
Contributor

pylipp commented Apr 29, 2020

Syntax:
QML

Guideline Criteria:
https://packagecontrol.io/packages/QML

Already tried to clone the repo to ~/.config/bat/syntaxes and run bat cache --build. However the list of languages is not updated since the included files are .tmLanguage, not .sublime-syntax.

Edit: Used this converter to generate a .sublime-syntax file from the .tmLanguage file. I can provide this in a repository; and add a submodule to the bat assets.
The .JSON-tmLanguage file does not seem to be relevant because it's the same definition in JSON format, right?

@sharkdp
Copy link
Owner

sharkdp commented Apr 29, 2020

Sounds good! It doesn't quite meet the "10,000 downloads on packagecontrol.io" guideline, but I guess QML is underrepresented in Sublime Text, as most Qt developers would probably use QtCreator.

Edit: Used this converter to generate a .sublime-syntax file from the .tmLanguage file. I can provide this in a repository; and add a submodule to the bat assets.

Please add the unmodified submodule and add the converted file in addition directly to this repository. Please use SublimeText itself for the conversion. For details, see https://github.com/sharkdp/bat/blob/master/assets/README.md

The .JSON-tmLanguage file does not seem to be relevant because it's the same definition in JSON format, right?

I'm not sure what these files are.

pylipp added a commit to pylipp/bat that referenced this issue Apr 29, 2020
QML.sublime-syntax file generated from Support/QML.tmLanguage using
Sublime's built-in converter.
Fix sharkdp#962
pylipp added a commit to pylipp/bat that referenced this issue Apr 30, 2020
QML.sublime-syntax file generated from Support/QML.tmLanguage using
Sublime's built-in converter.
Fix sharkdp#962
@sharkdp
Copy link
Owner

sharkdp commented May 11, 2020

Released in v0.15.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants