feat: add diff view component
This commit is contained in:
@@ -10,6 +10,7 @@ gpui-native-core = { workspace = true, optional = true }
|
||||
gpui-native-theme = { workspace = true }
|
||||
gpui-native-utils = { workspace = true }
|
||||
tree-sitter = "0.25"
|
||||
similar = "2"
|
||||
tree-sitter-rust = { version = "0.24", optional = true }
|
||||
tree-sitter-typescript = { version = "0.23", optional = true }
|
||||
tree-sitter-javascript = { version = "0.23", optional = true }
|
||||
@@ -22,6 +23,7 @@ gpui = { workspace = true, features = ["test-support"] }
|
||||
default = ["full"]
|
||||
full = [
|
||||
"code_view",
|
||||
"diff_view",
|
||||
"rust",
|
||||
"typescript",
|
||||
"javascript",
|
||||
@@ -32,6 +34,7 @@ code_view = [
|
||||
"gpui-native-core/scroll_area",
|
||||
"gpui-native-core/scrollbar",
|
||||
]
|
||||
diff_view = ["code_view"]
|
||||
rust = ["dep:tree-sitter-rust"]
|
||||
typescript = ["dep:tree-sitter-typescript"]
|
||||
javascript = ["dep:tree-sitter-javascript"]
|
||||
|
||||
Reference in New Issue
Block a user