Commit 98705f6
committed
feat(diff/syntax-highlight): add Elixir language support
Add community provided Elixir language parser to the utils/diffParsing
module, allowing syntax highlighting of `*.ex` and `*.exs` files in
diffs.
Changes:
- Install `codemirror-lang-elixir` package as a dependency.
- Add Elixir file extension detection in `parserFromExtension`.1 parent 35a2bd7 commit 98705f6
File tree
3 files changed
+25
-0
lines changed- packages/ui
- src/lib/utils
3 files changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
280 | 285 | | |
281 | 286 | | |
282 | 287 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments