Amaan Qureshi
de7b843796
chore: remove unnecessary conflicts
2024-01-31 10:39:38 +07:00
Amaan Qureshi
c2c2260195
0.20.2
2024-01-31 05:07:05 +07:00
Amaan Qureshi
8804e711fd
chore: format scanner
2024-01-31 05:07:05 +07:00
Amaan Qureshi
248303dac1
fix: include parser.h locally
2024-01-31 04:52:05 +07:00
Amaan Qureshi
bbb7f68ff3
fix: update test
2024-01-31 04:52:05 +07:00
Amaan Qureshi
18772c3342
chore: add new regression tests
2024-01-31 04:52:05 +07:00
Amaan Qureshi
5673011a7c
chore: generate
2024-01-31 04:52:05 +07:00
Amaan Qureshi
111182fb7e
refactor: ensure comments are parsed after automatic semicolons for better trees
2024-01-31 04:52:05 +07:00
Amaan Qureshi
f85369d143
chore: update queries
2024-01-31 04:52:05 +07:00
Amaan Qureshi
672ec1490a
chore: npm/npm is archived, use npm/cli
2024-01-31 04:52:05 +07:00
Amaan Qureshi
04c7d2e899
chore: update tests
2024-01-31 04:52:05 +07:00
Amaan Qureshi
e7d9759baf
fix: don't parse ternary qmarks aggressively; wait for comments to be parsed instead
2024-01-31 04:52:05 +07:00
Amaan Qureshi
d913f22675
fix: allow let as a reserved identifier
2024-01-31 04:52:05 +07:00
Amaan Qureshi
6f80c5b131
fix: allow bare semicolons in classes
2024-01-31 04:52:05 +07:00
Amaan Qureshi
05c0e37852
refactor: sequence expressions shouldn't be recursive
2024-01-31 04:52:05 +07:00
Amaan Qureshi
99522a2492
fix: be more selective about where `import` is allowed
2024-01-31 04:52:05 +07:00
Amaan Qureshi
bb0e10a321
fix: expose string fragments inside template strings
2024-01-31 04:52:05 +07:00
Amaan Qureshi
4f279cc39f
refactor: move parsing html comments to the scanner
2024-01-31 04:52:05 +07:00
Amaan Qureshi
84c57eeb0e
refactor: rename the `function` rule to `function_expression` to avoid collision with the `function` literal
2024-01-31 04:52:05 +07:00
Wilfred Hughes
7fda26d68a
cargo fmt
2024-01-30 21:25:01 +07:00
Wilfred Hughes
29b3119f39
Mention #570 in changelog
2024-01-30 21:24:11 +07:00
Wilfred Hughes
052b3a62a3
Use XML file headers as language detection hints
...
Fixes #630
2024-01-30 21:22:51 +07:00
Wilfred Hughes
5219977d88
Add comment to language detection logic
2024-01-29 21:57:40 +07:00
Wilfred Hughes
de3aeff62f
Merge pull request #627 from gotcha/patch-1
...
ZCML is XML
2024-01-29 08:29:55 +07:00
Godefroid Chapelle
992f9cf11d
ZCML is XML
...
Zope and Plone ZCML (Zope Configuration Markup Language) is XML.
2024-01-29 16:40:48 +07:00
Wilfred Hughes
982f2526fb
Update to latest tree-sitter
...
Benchmarks are unchanged.
Fixes #570
2024-01-28 13:12:06 +07:00
Wilfred Hughes
6760559e6f
Increase MSRV to 1.65
...
See discussion in #570
2024-01-28 12:55:07 +07:00
Wilfred Hughes
73a6a61b27
Add VHDL to changelog
2024-01-28 12:35:11 +07:00
Wilfred Hughes
a3731067b2
Merge pull request #618 from arbrauns/tree-sitter-vhdl
...
Add tree-sitter-vhdl
2024-01-28 12:04:53 +07:00
Wilfred Hughes
8df2fd3823
Merge pull request #619 from arbrauns/manual-new-parser-fix
...
manual: fix instructions for adding new parser
2024-01-28 12:03:44 +07:00
Wilfred Hughes
6c4310e33b
Remove macro from Objective-C sample file so it parses fully
2024-01-28 11:02:58 +07:00
Armin Brauns
c5638750d6
Add tree-sitter-vhdl
2024-01-09 09:23:51 +07:00
Armin Brauns
1087c805d0
manual: fix instructions for adding new parser
...
The `LANG_*` lists were removed and replaced with functions in
4d85b5c15e .
2024-01-08 15:31:42 +07:00
Armin Brauns
3de60c60ac
Add 'vendored_parsers/tree-sitter-vhdl/' from commit 'b863231107ef4471ad007a2405ef319875da5b4e'
...
git-subtree-dir: vendored_parsers/tree-sitter-vhdl
git-subtree-mainline: 2d61aefb84
git-subtree-split: b863231107
2024-01-08 14:36:57 +07:00
Wilfred Hughes
2d61aefb84
Fix tab replacement in single-column display
...
Fixes #617
2024-01-07 19:35:33 +07:00
Wilfred Hughes
8ad07174c9
Fix spelling
2024-01-07 19:28:29 +07:00
Wilfred Hughes
5c67ed08a9
Update integration test for new tab width
2024-01-07 19:26:07 +07:00
Wilfred Hughes
bc0cbaf3ae
Change default tab width to 4
...
This is more consistent with web UIs like GitHub, so I think it's a
better default.
2024-01-07 13:15:12 +07:00
Wilfred Hughes
db86b28a28
Add support for Objective-C
...
Closes #600
Co-authored-by: Nick Moore <nick@pilotmoon.com>
2024-01-07 12:50:19 +07:00
Wilfred Hughes
6338c3b314
Add 'vendored_parsers/tree-sitter-objc/' from commit '62e61b6f5c0289c376d61a8c91faf6435cde9012'
...
git-subtree-dir: vendored_parsers/tree-sitter-objc
git-subtree-mainline: 8eebc24165
git-subtree-split: 62e61b6f5c
2024-01-07 12:15:51 +07:00
Wilfred Hughes
8eebc24165
Roll version
2024-01-07 00:33:16 +07:00
Wilfred Hughes
35c1b4171f
Update link to manual
2024-01-05 21:08:33 +07:00
Wilfred Hughes
7eb2f99077
Update changelog for previous commit
2024-01-05 21:07:46 +07:00
Wilfred Hughes
50a03b4b14
Merge pull request #614 from yuja/push-utqlvwnvuwrl
...
Fix dir-diff paths merging to not add duplicated entries from remainder
2024-01-05 08:47:24 +07:00
Wilfred Hughes
35a182dd42
Remove bool_to_int_with_if clippy config
...
This doesn't exist in Rust 1.63 (it was added in 1.65) and 1.67 moved
it to allow-by-default anyway.
2024-01-05 08:39:08 +07:00
Wilfred Hughes
7a459ca308
Happy new year!
2024-01-04 17:37:46 +07:00
Wilfred Hughes
d7510edff0
Improve meta tags: description, browser colour
2024-01-04 08:23:00 +07:00
Yuya Nishihara
19e21cda90
Fix dir-diff paths merging to not add duplicated entries from remainder
...
If lhs_paths and rhs_paths are ["a", "c"] and ["a", "b", "c"] respectively, the
loop ends with paths = ["a", "c", "b"], i = j = 2. We still need to deduplicate
"c" from the rhs_paths.
.into_iter() can't be used anymore since the seen set still borrows the paths.
2024-01-02 10:53:18 +07:00
Wilfred Hughes
db0c150f61
Report permission changes
...
Fixes #605
2023-12-30 11:20:00 +07:00
Wilfred Hughes
68f28a8085
More use of renamed over extra_info
2023-12-29 19:51:14 +07:00