Regenerate nvim config
This commit is contained in:
31
config/neovim/store/nvim-treesitter/queries/gleam/locals.scm
Normal file
31
config/neovim/store/nvim-treesitter/queries/gleam/locals.scm
Normal file
@ -0,0 +1,31 @@
|
||||
; Let Binding Definition
|
||||
(let
|
||||
pattern: (identifier) @local.definition)
|
||||
|
||||
; List Pattern Definitions
|
||||
(list_pattern
|
||||
(identifier) @local.definition)
|
||||
|
||||
(list_pattern
|
||||
assign: (identifier) @local.definition)
|
||||
|
||||
; Tuple Pattern Definition
|
||||
(tuple_pattern
|
||||
(identifier) @local.definition)
|
||||
|
||||
; Record Pattern Definition
|
||||
(record_pattern_argument
|
||||
pattern: (identifier) @local.definition)
|
||||
|
||||
; Function Parameter Definition
|
||||
(function_parameter
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
; References
|
||||
(identifier) @local.reference
|
||||
|
||||
; Function Body Scope
|
||||
(function_body) @local.scope
|
||||
|
||||
; Case Scope
|
||||
(case_clause) @local.scope
|
||||
Reference in New Issue
Block a user