syntec, but not compiling

This commit is contained in:
Priec
2025-08-19 00:46:11 +02:00
parent a3f578ebac
commit 3fdb7e4e37
9 changed files with 1262 additions and 27 deletions

View File

@@ -25,6 +25,7 @@ async-trait.workspace = true
regex = { workspace = true, optional = true }
ropey = { version = "1.6.1", optional = true }
once_cell = "1.21.3"
syntect = { version = "5.2.0", optional = true, default-features = false, features = ["default-fancy"] }
[dev-dependencies]
tokio-test = "0.4.4"
@@ -37,6 +38,7 @@ cursor-style = ["crossterm"]
validation = ["regex"]
computed = []
textarea = ["dep:ropey","gui"]
syntect = ["dep:syntect", "gui", "textarea"]
# text modes (mutually exclusive; default to vim)
textmode-vim = []
@@ -50,7 +52,6 @@ all-nontextmodes = [
"computed",
"textarea"
]
ropey = ["dep:ropey"]
[[example]]
name = "suggestions"