mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
fix(ts)(julia): include namespace in function name if in declaration (#260)
This commit is contained in:
parent
603c805d2d
commit
4b6da0b074
2 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
(function_definition
|
||||
name: (field_expression
|
||||
value: (_)
|
||||
(identifier) @name)
|
||||
(identifier)) @name
|
||||
(#set! "kind" "Function")
|
||||
) @type
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
(short_function_definition
|
||||
name: (field_expression
|
||||
value: (_)
|
||||
(identifier) @name)
|
||||
(identifier)) @name
|
||||
(#set! "kind" "Function")
|
||||
) @type
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ describe("treesitter julia", function()
|
|||
children = {
|
||||
{
|
||||
kind = "Function",
|
||||
name = "myfunc",
|
||||
name = "mod.myfunc",
|
||||
level = 2,
|
||||
lnum = 21,
|
||||
col = 4,
|
||||
|
@ -106,7 +106,7 @@ describe("treesitter julia", function()
|
|||
},
|
||||
{
|
||||
kind = "Function",
|
||||
name = "myfuncb",
|
||||
name = "mod.myfuncb",
|
||||
level = 2,
|
||||
lnum = 22,
|
||||
col = 4,
|
||||
|
|
Loading…
Reference in a new issue