summaryrefslogtreecommitdiff
path: root/packages/cli/src
diff options
context:
space:
mode:
authorJacob Richman <[email protected]>2025-05-06 08:16:32 -0700
committerGitHub <[email protected]>2025-05-06 08:16:32 -0700
commit6812235cfa918a4a8ae92c92525873cbacaf676b (patch)
treed0d1db76cb7aa2b6d2802aef99cb66ef1574e861 /packages/cli/src
parent792cc145b198713f149a5f6d8e0e9560c020ee52 (diff)
Revert "Support syntax highlighting for more languages (#246)" (#264)
Diffstat (limited to 'packages/cli/src')
-rw-r--r--packages/cli/src/ui/utils/CodeColorizer.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/utils/CodeColorizer.tsx b/packages/cli/src/ui/utils/CodeColorizer.tsx
index d99297b4..1916ff50 100644
--- a/packages/cli/src/ui/utils/CodeColorizer.tsx
+++ b/packages/cli/src/ui/utils/CodeColorizer.tsx
@@ -6,7 +6,7 @@
import React from 'react';
import { Text } from 'ink';
-import { all, createLowlight } from 'lowlight';
+import { common, createLowlight } from 'lowlight';
import type {
Root,
Element,
@@ -18,7 +18,7 @@ import { themeManager } from '../themes/theme-manager.js';
import { Theme } from '../themes/theme.js';
// Configure themeing and parsing utilities.
-const lowlight = createLowlight(all);
+const lowlight = createLowlight(common);
function renderHastNode(
node: Root | Element | HastText | RootContent,