Skip to content

Commit

Permalink
index_reference fix macro
Browse files Browse the repository at this point in the history
  • Loading branch information
shuying2244 committed Dec 30, 2023
1 parent ab04f69 commit fbeed49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/els_lsp/src/els_indexing.erl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ index_references(Id, Uri, POIs, Version) ->

-spec index_reference(atom(), uri(), els_poi:poi(), version()) -> ok.
index_reference(M, Uri, #{kind := Kind, id := {F, A}} = POI, Version) when
Kind =/= macro,
Kind =/= record_field
->
index_reference(M, Uri, POI#{id => {M, F, A}}, Version);
Expand Down

0 comments on commit fbeed49

Please sign in to comment.