mirror of
https://github.com/helix-editor/helix
synced 2026-03-20 13:15:07 +01:00
26 lines
467 B
Scheme
26 lines
467 B
Scheme
; Code outline/structure for symbol navigation
|
|
|
|
; Components
|
|
(component_declaration
|
|
name: (identifier) @name) @item
|
|
|
|
; Fragments
|
|
(fragment_declaration
|
|
name: (identifier) @name) @item
|
|
|
|
; Functions
|
|
(function_declaration
|
|
name: (identifier) @name) @item
|
|
|
|
; Classes
|
|
(class_declaration
|
|
name: (identifier) @name) @item
|
|
|
|
; Methods
|
|
(method_definition
|
|
name: (property_name) @name) @item
|
|
|
|
; Variables (const/let)
|
|
(variable_declarator
|
|
name: (identifier) @name) @item
|