Crate reovim_plugin_treesitter

Crate reovim_plugin_treesitter 

Source
Expand description

Treesitter plugin for reovim

Provides syntax highlighting, code folding, and semantic text objects via tree-sitter parsing. Language support is provided by separate language plugins that register with this infrastructure plugin.

Re-exports§

pub use command::JumpToNextScope;
pub use command::JumpToParentScope;
pub use command::JumpToPrevScope;
pub use context::TreesitterContextProvider;
pub use edit::BufferEdit;
pub use events::HighlightsReady;
pub use events::ParseCompleted;
pub use events::ParseRequest;
pub use events::RegisterLanguage;
pub use events::TreesitterFoldRanges;
pub use highlighter::Highlighter;
pub use injection::InjectionDetector;
pub use injection::InjectionLayer;
pub use injection::InjectionManager;
pub use injection::InjectionRegion;
pub use manager::TreesitterManager;
pub use parser::BufferParser;
pub use queries::QueryCache;
pub use queries::QueryType;
pub use registry::LanguageRegistry;
pub use registry::LanguageSupport;
pub use registry::RegisteredLanguage;
pub use state::SharedTreesitterManager;
pub use theme::TreesitterTheme;

Modules§

command
Treesitter navigation commands
context
Treesitter context provider for scope detection
edit
Edit conversion utilities for incremental parsing
events
Treesitter plugin events
factory
Syntax factory for tree-sitter based syntax highlighting
highlighter
Highlight generation from treesitter queries
injection
Tree-sitter language injection support
manager
Treesitter manager for buffer parsing and highlighting
parser
Buffer parser state management and incremental parsing
queries
Query compilation and caching
registry
Language registry for dynamic language registration
state
Shared state for the treesitter plugin
syntax
Tree-sitter based syntax provider implementation
text_objects
Semantic text object resolution using treesitter queries
theme
Treesitter capture to style mapping

Structs§

Language
Re-export tree-sitter types for language plugins An opaque object that defines how to parse a particular language. The code for each Language is generated by the Tree-sitter CLI.
TreesitterPlugin
Treesitter infrastructure plugin