Commit Graph

37 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
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 f13775ea60 Bump tree-sitter-cli to 0.19 2021-03-04 14:44:19 -08:00
Max Brunsfeld 49209e6f0a ⬆️ tree-sitter-cli 2020-05-14 14:41:19 -07:00
Max Brunsfeld 179c2f3a75 ⬆️ tree-sitter-cli to 0.16 2019-12-09 16:36:12 -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 9b385485d8 Update to use new syntax highlighting property sheet API 2019-05-10 13:02:48 -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 53d1095d4a Allow top-level declarations 2018-10-30 15:54:37 -07:00
Max Brunsfeld 9dda3cfe4c Generalize plain value definition, add examples to parse 2018-10-30 11:10:03 -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 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 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 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 8250ee9f47 Don't allow line-breaks in strings 2018-10-18 20:37:59 -07:00
Max Brunsfeld a39aceaa44 Add at-rules 2018-10-18 09:59:09 -07:00
Max Brunsfeld c3ffccdac1 Add more selectors and property values 2018-10-17 23:14:21 -07:00
Max Brunsfeld ad139e0a3a Initial commit 2018-09-30 15:59:56 -07:00