4fc991fdec
This is a rather large refactor that moves most of the code for loading, fetching, and building grammars into a new helix-loader module. This works well with the [[grammars]] syntax for languages.toml defined earlier: we only have to depend on the types for GrammarConfiguration in helix-loader and can leave all the [[language]] entries for helix-core.
29 lines
403 B
TOML
29 lines
403 B
TOML
[workspace]
|
|
members = [
|
|
"helix-core",
|
|
"helix-view",
|
|
"helix-term",
|
|
"helix-tui",
|
|
"helix-lsp",
|
|
"helix-dap",
|
|
"helix-loader",
|
|
"xtask",
|
|
]
|
|
|
|
default-members = [
|
|
"helix-term"
|
|
]
|
|
|
|
[profile.dev]
|
|
split-debuginfo = "unpacked"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
# debug = true
|
|
|
|
[profile.opt]
|
|
inherits = "release"
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
# strip = "debuginfo" # TODO: or strip = true
|
|
opt-level = 3
|