1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

3469 Commits

Author SHA1 Message Date
Rob Rix
cbf313f011 Use languageForType to select a parser. 2015-12-15 14:40:49 -05:00
Rob Rix
31fcf6e33c Add a languageForType binding to TreeSitter. 2015-12-15 14:39:54 -05:00
Rob Rix
9c0bca7b67 Revert "Rephrase parserForType with pattern matching at the root."
This reverts commit 2b1c9004f73283445f8f3523898e88ba4ed131fd.
2015-12-15 14:38:31 -05:00
Rob Rix
fe85e31574 Rephrase parserForType with pattern matching at the root. 2015-12-15 14:38:20 -05:00
Rob Rix
96d604092e Add the Haskell module to the profile component. 2015-12-15 14:36:42 -05:00
Rob Rix
46029defd2 Import Haskell. 2015-12-15 14:36:31 -05:00
Rob Rix
8e154e0016 Move parserForType into Parser. 2015-12-15 14:36:25 -05:00
Rob Rix
ac042e0c4a Remove some unnecessary parameters from makeLeaf. 2015-12-15 14:36:03 -05:00
Rob Rix
30c2d96066 TreeSitter doesn’t import Parser. 2015-12-15 14:35:48 -05:00
Rob Rix
5add0089a2 Lean on the Monoid instance. 2015-12-15 14:35:37 -05:00
Rob Rix
ad68d7beab Move Parser into the executable(s). 2015-12-15 14:35:11 -05:00
Rob Rix
706da9e13e Stub in a Haskell parser module. 2015-12-15 14:22:06 -05:00
Rob Rix
c9ad5f3941 Depend on parsec. 2015-12-15 14:22:00 -05:00
Rob Rix
ac7d9e410c Merge branch 'master' into readme-redux 2015-12-15 13:15:44 -05:00
Josh Vera
14fab0f57e Merge pull request #314 from github/split-rendering-of-keyed-nodes
Split rendering of keyed nodes
2015-12-15 13:04:30 -05:00
Rob Rix
e919cf9246 Merge branch 'master' into readme-redux 2015-12-15 12:44:39 -05:00
Rob Rix
0908a4efd8 Inserted elements are inserted. 2015-12-15 12:42:50 -05:00
Rob Rix
095ed7307f Merge branch 'master' into split-rendering-of-keyed-nodes 2015-12-15 12:35:43 -05:00
Rob Rix
4b18c62157 Code cell default text colour. 2015-12-15 10:17:52 -05:00
Rob Rix
cdab9d485a Tweaks to the diff font. 2015-12-15 10:17:42 -05:00
Rob Rix
bf90f2a482 More rule priority adjustments. 2015-12-15 10:16:38 -05:00
Rob Rix
7b67f4fa64 Spacing. 2015-12-15 10:15:43 -05:00
Rob Rix
51b5ffb00b Remove the cell height. 2015-12-15 10:15:36 -05:00
Rob Rix
43321ab1ec Adjust the relative priorities of rules. 2015-12-15 10:15:10 -05:00
Rob Rix
a7ffc56d00 Pad inside code cells. 2015-12-15 10:12:40 -05:00
Rob Rix
30fae47a8f Remove the minimum width. 2015-12-15 10:12:33 -05:00
Rob Rix
3b2820a4ac Border stuff. 2015-12-15 10:11:20 -05:00
Rob Rix
d4dd01c38a Never wrap number cells. 2015-12-15 10:11:15 -05:00
Rob Rix
98d2f6a06b Tweak the width rules for number cells. 2015-12-15 10:11:09 -05:00
Rob Rix
766142efd4 Add colgroups to tables. 2015-12-15 10:10:51 -05:00
Rob Rix
ece14e5b8d Set the number cell text colour. 2015-12-15 10:02:30 -05:00
Rob Rix
dc38ea3d03 Increase the line height. 2015-12-15 10:02:18 -05:00
Rob Rix
99366432d8 We don’t need to specify this width. 2015-12-15 10:02:02 -05:00
Rob Rix
7887c89710 No default padding for cells. 2015-12-15 10:00:47 -05:00
Rob Rix
dc0d53e861 Number cell borders. 2015-12-15 10:00:07 -05:00
Rob Rix
170008f605 Don’t select line numbers. 2015-12-15 09:59:58 -05:00
Rob Rix
bc8eb0bf99 Pad the number cells a bit. 2015-12-15 09:59:51 -05:00
Rob Rix
68833bcd39 Use the right font for the numbers. 2015-12-15 09:58:22 -05:00
Rob Rix
5cbcdd2902 We no longer insert this ul. 2015-12-15 09:57:05 -05:00
Rob Rix
43d8634dcb Give empty cells a background colour. 2015-12-15 09:56:02 -05:00
Rob Rix
803a1eb2f2 Add a border to the right number cells. 2015-12-15 09:55:44 -05:00
Rob Rix
68f7203fe8 Empty code cells get marked up accordingly. 2015-12-15 09:50:22 -05:00
Rob Rix
7985f9fdaf Empty number cells get marked up accordingly. 2015-12-15 09:47:36 -05:00
Rob Rix
c5fa99182b Empty lines defer to the ToMarkup instance for Line. 2015-12-15 09:46:06 -05:00
Rob Rix
2bb4e6565c 🔥 the commented-out ToMarkup instance for Row. 2015-12-15 09:41:31 -05:00
Rob Rix
2a43e355d7 Pairs are Fixed, not Indexed. 2015-12-15 09:14:23 -05:00
Rob Rix
531dd3efcf Merge branch 'master' into split-styling-adjustments 2015-12-15 08:40:37 -05:00
Rob Rix
b0739e53d1 Fewer parens. 2015-12-14 19:12:03 -05:00
Rob Rix
64b011e388 Diff Keyed nodes in order. 2015-12-14 19:11:40 -05:00
Rob Rix
d8dbfb15c5 Use Lists instead of Sets. 2015-12-14 19:10:17 -05:00