Skip to content

Commit

Permalink
fix: julia treesitter queries for updated julia parser
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Nov 8, 2022
1 parent e3dbe2b commit 3423358
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lua/aerial/backends/treesitter/language_kind_map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ return {
julia = {
const_statement = "Constant",
abstract_definition = "Interface",
call_expression = "Function",
function_definition = "Function",
macro_definition = "Function",
module_definition = "Module",
short_function_definition = "Function",
struct_definition = "Class",
},
latex = {
Expand Down
5 changes: 2 additions & 3 deletions queries/julia/aerial.scm
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
(function_definition
name: (identifier) @name) @type

(assignment_expression
. (call_expression
(identifier) @name) @type) @start
(short_function_definition
name: (identifier) @name) @type

(abstract_definition
name: (identifier) @name) @type
Expand Down

0 comments on commit 3423358

Please sign in to comment.