Expand description
editor-core-lang - data-driven language configuration helpers for editor-core.
This crate intentionally stays lightweight and does not depend on lsp-types or any
parsing/highlighting systems. It provides small structs that hosts can use to configure
editor-kernel features in a language-aware way.
Structs§
- Auto
Pair - A single auto-pair entry (opening + closing delimiter).
- Auto
Pairs Config - Auto-pairs configuration (auto-close, wrap selection, skip-over, delete-pair).
- Comment
Config - Comment tokens/config for a given language.
- Indentation
Config - Indentation configuration for a language.
- Language
Config - Unified per-language configuration.
- Language
Id - Identifier for a language configuration entry (e.g.
"rust","python"). - Language
Registry - A lightweight in-memory registry of language configurations.
- LspLanguage
Config - LSP launch configuration for a language.
- Tree
Sitter Language Config - Tree-sitter configuration for a language.
- Word
Boundary Language Config - Word-boundary configuration for editor-friendly “word” operations.
Enums§
- Indent
Style - How the language prefers indentation.
- Language
Registry Error - Error returned by
LanguageRegistry::register.