Commit Graph

117 Commits (919f15344f6a53562eb056fc1083e1b76c1c3ac2)

Author SHA1 Message Date
Ember Sawady 7ed685ae52 Add support for Hare 2022-09-13 23:34:16 +07:00
Wilfred Hughes 3c51f58d8e Add Pascal support
Fixes #365
2022-09-13 00:05:23 +07:00
Wilfred Hughes 3a8b0ebaf8
Merge pull request #361 from yuja/add-qml
Add support for QML
2022-09-10 12:07:58 +07:00
Wilfred Hughes 19ad2fdb61 Improve comment wording 2022-09-10 11:22:15 +07:00
Wilfred Hughes cd6b33ee28 Run the same tab replacement for --dump-ts and --dump-syntax
This is important for getting parse trees consistent with normal
diffing behaviour.
2022-09-09 22:43:13 +07:00
Yuya Nishihara 84f0b25fb6 Add support for QML
QML is a UI language, and its syntax is basically JSON-like structure
+ JavaScript. The tree-sitter parser is named after the upstream grammar
file qmljs.g, but the canonical language name is QML. So I choose Qml as
the Language enum.

https://doc.qt.io/qt-6/qmlapplications.html
2022-09-10 11:38:35 +07:00
Wilfred Hughes eabefd5612 Factor out language name pretty-printing 2022-09-02 11:56:51 +07:00
Wilfred Hughes 659f2dd6bd Add support for Makefiles 2022-08-28 16:26:01 +07:00
Wilfred Hughes b95bc0fb27 Also consider highlights.scm when marking nodes as comments
This removes the need to special-case Perl, and is necessary for
CMake (which has nodes bracket_comment and line_comment that aren't
marked as 'extra').
2022-08-20 18:32:52 +07:00
Wilfred Hughes bbdc324b7f Add CMake support
Fixes #333
2022-08-20 18:32:32 +07:00
Wilfred Hughes 8547987830 Add Hacklang support 2022-07-11 22:13:37 +07:00
Wilfred Hughes f2ca7cf314 Add SQL support
Closes #311
2022-07-11 09:31:34 +07:00
Wilfred Hughes d785886294 Add syntax highlighting for Julia 2022-07-04 19:35:34 +07:00
Wilfred Hughes 970fd7f9d3 Add Julia support
Fixes #284
2022-07-04 15:50:28 +07:00
Wilfred Hughes 2d43075841 HTML: include doublequotes in attribute atoms 2022-07-03 22:11:25 +07:00
Benjamin Manns d131ae1d35 Add HTML parser 2022-07-01 12:23:20 +07:00
Wilfred Hughes c5fe152f25 Define a parse submodule 2022-05-25 09:28:12 +07:00