mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
24
runtime/queries/gleam/locals.scm
Normal file
24
runtime/queries/gleam/locals.scm
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
; Let Binding Definition
|
||||
(let pattern: (identifier) @definition)
|
||||
|
||||
; List Pattern Definitions
|
||||
(list_pattern (identifier) @definition)
|
||||
(list_pattern assign: (identifier) @definition)
|
||||
|
||||
; Tuple Pattern Definition
|
||||
(tuple_pattern (identifier) @definition)
|
||||
|
||||
; Record Pattern Definition
|
||||
(record_pattern_argument pattern: (identifier) @definition)
|
||||
|
||||
; Function Parameter Definition
|
||||
(function_parameter name: (identifier) @definition)
|
||||
|
||||
; References
|
||||
(identifier) @reference
|
||||
|
||||
; Function Body Scope
|
||||
(function_body) @scope
|
||||
|
||||
; Case Scope
|
||||
(case_clause) @scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue