Skip to main content

default_kind_mapping

Function default_kind_mapping 

Source
pub fn default_kind_mapping(capture_suffix: &str) -> Option<SymbolKind>
Expand description

Map a capture-name suffix to a SymbolKind.

This is the default implementation used by LanguageConfig::map_capture_to_kind. Language configs can call it directly or override the method entirely.