Partly fix julia's locals.scm

imgbot
Blaž Hrastnik 3 years ago
parent a8060c06d1
commit 78b6155292

@ -2,24 +2,24 @@
(import_statement (import_statement
(identifier) @definition.import) (identifier) @definition.import)
(variable_declaration (variable_declaration
(identifier) @definition.var) (identifier) @local.definition)
(variable_declaration (variable_declaration
(tuple_expression (tuple_expression
(identifier) @definition.var)) (identifier) @local.definition))
(for_binding (for_binding
(identifier) @definition.var) (identifier) @local.definition)
(for_binding (for_binding
(tuple_expression (tuple_expression
(identifier) @definition.var)) (identifier) @local.definition))
(assignment_expression (assignment_expression
(tuple_expression (tuple_expression
(identifier) @definition.var)) (identifier) @local.definition))
(assignment_expression (assignment_expression
(bare_tuple_expression (bare_tuple_expression
(identifier) @definition.var)) (identifier) @local.definition))
(assignment_expression (assignment_expression
(identifier) @definition.var) (identifier) @local.definition)
(type_parameter_list (type_parameter_list
(identifier) @definition.type) (identifier) @definition.type)
@ -43,11 +43,11 @@
(identifier) @definition.parameter) (identifier) @definition.parameter)
(function_definition (function_definition
name: (identifier) @definition.function) @scope name: (identifier) @definition.function) @local.scope
(macro_definition (macro_definition
name: (identifier) @definition.macro) @scope name: (identifier) @definition.macro) @local.scope
(identifier) @reference (identifier) @local.reference
[ [
(try_statement) (try_statement)
@ -56,4 +56,4 @@
(let_statement) (let_statement)
(compound_expression) (compound_expression)
(for_statement) (for_statement)
] @scope ] @local.scope

Loading…
Cancel
Save