Commit Graph

15311 Commits (bd9c98050e2feb4239fc9f9b65642e26817edf04)
 

Author SHA1 Message Date
wangweijie 1fba1c7e4a deps: bump libc from 0.2.153 to 0.2.155
Signed-off-by: wangweijie <wangweijie@loongson.cn>
2024-05-29 07:22:15 +07:00
Wilfred Hughes b88b405620 Notes on next tree-sitter version 2024-05-25 07:13:37 +07:00
Wilfred Hughes c503a7564e Update regex dependency 2024-05-25 15:02:57 +07:00
Wilfred Hughes 7827a059cb Update F# expected output 2024-05-25 14:58:14 +07:00
Wilfred Hughes d7188f7178 Remove unused struct 2024-05-25 14:55:39 +07:00
Wilfred Hughes a9bcee7733 Add sample conflicts file
This is already referenced in the manual.
2024-05-14 10:14:05 +07:00
Wilfred Hughes a259c858a1 Update F# docs 2024-05-14 10:13:37 +07:00
Wilfred Hughes ac5af62606 Merge commit 'b5dbafd164af7113e208de9b36068046f5ce8678' into f_sharp 2024-05-14 10:08:50 +07:00
Wilfred Hughes d92b65c5fd Merge remote-tracking branch 'thecentury/f#' 2024-05-14 09:46:55 +07:00
Wilfred Hughes d292546df7 Prefer 'device tree' as two words 2024-05-13 16:59:48 +07:00
Wilfred Hughes de9c84c418 Document new addition 2024-05-13 16:52:33 +07:00
Wilfred Hughes d3e5aa5232 Merge remote-tracking branch 'blmaier/support-devicetree' 2024-05-13 16:50:13 +07:00
Wilfred Hughes 11e2c49b7e Fix wording 2024-05-13 16:32:45 +07:00
Wilfred Hughes 5a250d63df Expand usage docs and fix obsolete reference to --language
Fixes #712
2024-05-13 16:31:30 +07:00
Nikolaj Sidorenco b5dbafd164
fix: multi line triple quoted strings 2024-05-13 23:35:55 +07:00
Wilfred Hughes 809f49124c Remove empty comment 2024-05-11 22:10:17 +07:00
Wilfred Hughes 28d8673371 Treat tree-sitter nodes highlighted as comments as atoms
Fixes #711
2024-05-11 22:03:59 +07:00
Wilfred Hughes e51834fa77 Support comment.foo highlighting queries
This should improve highlighting in cases like Elm that use
`@comment.elm`.
2024-05-11 16:08:29 +07:00
Wilfred Hughes 835c5eb757 Roll version following release 2024-05-11 13:54:42 +07:00
Wilfred Hughes 0c9277108b It's not actually a 2x perf win
It's more like a 15% reduction in instruction count, which is still
nice.
2024-05-10 16:28:16 +07:00
Wilfred Hughes edb839c803 Improve terminal width detection
Ensure the value is always non-zero, and consider $COLUMNS if
crossterm does not succeed.

Fixes #707
2024-05-10 16:26:48 +07:00
Wilfred Hughes 9d2574dbd1 Update assert_cmd dependency 2024-05-10 16:08:56 +07:00
Wilfred Hughes be95b31896 Tests do actually import predicates, so restore dependency with looser bounds 2024-05-10 16:02:21 +07:00
Wilfred Hughes f665c73fe0 Remove pin in dev dependencies that is no longer necessary 2024-05-10 15:57:14 +07:00
Wilfred Hughes 6a3b340d5f Prefer 'terminal' over 'display' terminology 2024-05-10 15:53:40 +07:00
Wilfred Hughes ec7a765453 Factor out a constant for the default terminal width 2024-05-10 15:50:56 +07:00
Nikolaj Sidorenco 7769a19509
feat: shorthand array type postfix 2024-05-07 22:57:54 +07:00
Wilfred Hughes 1954f15e0d Fix typo 2024-05-07 08:50:54 +07:00
Grégoire Paris 082abf65d1 Document how to disable difftastic temporarily
It can be useful if you want to obtain a diff in the standard format and
copy paste it to github, for instance.
2024-05-07 08:48:20 +07:00
Wilfred Hughes 0ceb00093a Move notes to wiki 2024-05-07 08:42:45 +07:00
Wilfred Hughes 03d1f9bf26 Lint against .to_string() on String 2024-05-07 08:39:07 +07:00
Wilfred Hughes 9474635076 Prefer .to_owned() on &str 2024-05-07 08:32:30 +07:00
Wilfred Hughes 33542a47d5 Update CMake highlights for latest grammar 2024-05-07 08:29:34 +07:00
Nikolaj Sidorenco 5c85c505b5
fix: repeated attributes 2024-05-06 20:36:57 +07:00
Nikolaj Sidorenco c4d2c743e7
fix: ce expression vs application expression nested 2024-05-06 20:08:20 +07:00
dependabot[bot] 15c58119a9
build(deps-dev): bump eslint from 9.1.1 to 9.2.0 (#53) 2024-05-06 17:34:24 +07:00
dependabot[bot] 15c81bd1ba
build(deps): bump node-gyp-build from 4.8.0 to 4.8.1 (#52) 2024-05-06 17:32:52 +07:00
dependabot[bot] 6a7042c0e6
build(deps-dev): bump tree-sitter-cli from 0.22.5 to 0.22.6 (#51) 2024-05-06 17:32:22 +07:00
Nikolaj Sidorenco ccd13da847
fix: ce expression vs application expression 2024-05-05 16:11:37 +07:00
Nikolaj Sidorenco 830d01faa1
fix type decl scoping 2024-05-05 16:06:50 +07:00
Nikolaj Sidorenco c5fff9dc9d
clean up parser states for types 2024-05-04 15:04:50 +07:00
Nikolaj Sidorenco 6c7f980d42
feat: allow top-level expressions 2024-05-03 16:18:37 +07:00
Nikolaj Sidorenco 36eeeb4689
fix: prefix expression associativity 2024-05-02 23:05:15 +07:00
Nikolaj Sidorenco 1d8481b1f6
fix: for-loop vs do expression 2024-05-02 22:54:26 +07:00
Nikolaj Sidorenco 2af47eda2f
add queries 2024-05-01 19:36:28 +07:00
Nikolaj Sidorenco 05569e7e32
feat: improve error recovery
Allow the external scanner to always insert `indent` token, if the
grammar allows it.
If the external scanner every hits error recovery mode we start popping
`dedent` tokens off the stack. This create a expression block with no
expression inside allowing the grammar to more gracefully recover.
2024-05-01 17:05:20 +07:00
Nikolaj Sidorenco d819d6c35c
simplify scanner 2024-05-01 17:05:18 +07:00
dependabot[bot] 632077a079
build(deps-dev): bump eslint from 9.0.0 to 9.1.1 (#50) 2024-05-01 06:29:30 +07:00
dependabot[bot] 3c70aae132
Bump prebuildify from 6.0.0 to 6.0.1 (#49) 2024-05-01 06:26:46 +07:00
Nikolaj Sidorenco 53c2106398
improve error recovery 2024-04-30 19:58:43 +07:00