Commit Graph

59 Commits

Author SHA1 Message Date
Shadowfacts dab6d76f9c tree-sitter 0.20, --abi=14 2022-05-28 10:47:57 -04:00
Max Brunsfeld a03f1d2d1d Allow spaces before colons in declarations
Closes #20
2021-09-15 14:32:51 -07:00
Microsoft Provenance Contributions 7c39062216
Update package.json to include the repository key (#19)
With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your `package.json` REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:
* tree-sitter-css
2021-08-17 11:20:41 -07:00
Ryan Tsao 94e1023093
Fix parsing of negative numbers (#12)
* Add failing test for negative numbers

* Fix parsing of negative numbers

* Rearrange assertion to avoid extra diff noise
2021-03-04 15:25:23 -08:00
Max Brunsfeld 9668e88916 0.19.0 2021-03-04 14:45:38 -08:00
Max Brunsfeld f13775ea60 Bump tree-sitter-cli to 0.19 2021-03-04 14:44:19 -08:00
Jen-Chieh Shen e882c98b5e
Add colon hl (#15) 2021-02-12 10:45:27 -08:00
Max Brunsfeld 23f2cb97d4 Update highlight query 2020-05-14 14:44:30 -07:00
Max Brunsfeld 49209e6f0a ⬆️ tree-sitter-cli 2020-05-14 14:41:19 -07:00
Max Brunsfeld c822c9cba5 0.16.0 2019-12-09 16:39:44 -08:00
Max Brunsfeld 179c2f3a75 ⬆️ tree-sitter-cli to 0.16 2019-12-09 16:36:12 -08:00
Max Brunsfeld caed98aef6 0.15.0 2019-12-03 09:10:21 -08:00
Max Brunsfeld 4010134341 ⬆️ tree-sitter-cli 2019-12-03 09:10:18 -08:00
Max Brunsfeld 827ebad900 Add highlight query, remove property sheet 2019-10-17 16:58:00 -07:00
Max Brunsfeld 62903d8915 ⬆️ tree-sitter 2019-07-17 15:54:34 -07:00
Max Brunsfeld c9d3a2fd09 Use node 10 on travis and appveyor 2019-05-10 13:21:49 -07:00
Max Brunsfeld 9b385485d8 Update to use new syntax highlighting property sheet API 2019-05-10 13:02:48 -07:00
Max Brunsfeld 339e040a18
Merge pull request #3 from tree-sitter/highlighting-properties
Add property sheet for syntax highlighting
2019-03-12 12:31:42 -07:00
Max Brunsfeld 10dafb5f94 ⬆️ tree-sitter-cli 2019-03-12 12:25:52 -07:00
Max Brunsfeld 521103931f Add property sheet for syntax highlighting 2018-12-17 09:57:27 -08:00
Max Brunsfeld d3ed6c02ae Add MIT license
Fixes #2
2018-11-21 14:02:16 -08:00
Max Brunsfeld 0279a253b3 0.13.7 2018-10-30 15:54:41 -07:00
Max Brunsfeld 53d1095d4a Allow top-level declarations 2018-10-30 15:54:37 -07:00
Max Brunsfeld c63a7cd74a 0.13.6 2018-10-30 11:57:19 -07:00
Max Brunsfeld 9dda3cfe4c Generalize plain value definition, add examples to parse 2018-10-30 11:10:03 -07:00
Max Brunsfeld 8e5769d025 0.13.5 2018-10-29 15:47:32 -07:00
Max Brunsfeld b0d6e676cb Add only operator query operator 2018-10-29 15:46:58 -07:00
Max Brunsfeld 5318a21441 Fix over-eager parsing of plain values 2018-10-29 15:45:05 -07:00
Max Brunsfeld 3c2035e98e Add parenthesized expressions 2018-10-29 15:35:49 -07:00
Max Brunsfeld e2a44c9650 Fix conflict between plain values and numbers 2018-10-29 15:35:40 -07:00
Max Brunsfeld 187ef4c709 0.13.4 2018-10-28 14:21:35 -07:00
Max Brunsfeld ef2b62a852 Remove single-line comment style 2018-10-28 14:21:26 -07:00
Max Brunsfeld 7add08036c Don't require a ; on the last declaration in a block 2018-10-28 14:19:40 -07:00
Max Brunsfeld 90369e3d66 Treat # in color literals as a separate token 2018-10-28 14:17:28 -07:00
Max Brunsfeld 034eda815e Add selectors as arguments to :not 2018-10-26 14:23:46 -07:00
Max Brunsfeld c8a95409ae Add sibling selectors 2018-10-26 14:13:39 -07:00
Max Brunsfeld 751c870b80 Add @supports statements 2018-10-26 14:07:29 -07:00
Max Brunsfeld e4fefc4022 0.13.3 2018-10-26 11:56:27 -07:00
Max Brunsfeld 6caaefd51e Add keyframes statements 2018-10-26 11:56:10 -07:00
Max Brunsfeld eb66c5abb4 Allow function arguments to consist of multiple values 2018-10-26 11:50:26 -07:00
Max Brunsfeld 2659e00a88 Add namespace statements 2018-10-26 11:47:01 -07:00
Max Brunsfeld d9f5080cca Add important 2018-10-26 11:42:36 -07:00
Max Brunsfeld b2c8e4a547 Allow more characters in unquoted property values 2018-10-26 11:41:14 -07:00
Max Brunsfeld a61bc61c74 0.13.2 2018-10-26 09:46:39 -07:00
Max Brunsfeld b1cdf729d4 Allow uppercase E in float literals 2018-10-26 09:46:25 -07:00
Max Brunsfeld 8ba3d11be0 Add binary expressions 2018-10-26 09:44:27 -07:00
Max Brunsfeld 3e106ca94e Allow percentage as a unit 2018-10-26 09:37:10 -07:00
Max Brunsfeld eab22469f9 Allow numbers in tag & attribute names 2018-10-26 09:34:07 -07:00
Max Brunsfeld a34b06cb86 Allow empty strings 2018-10-22 20:20:36 -07:00
Max Brunsfeld 9db3a5155d 0.13.1 2018-10-18 20:39:57 -07:00