diff --git a/super_elixir/autocomplete.py b/super_elixir/autocomplete.py index a28460d..f282e2e 100644 --- a/super_elixir/autocomplete.py +++ b/super_elixir/autocomplete.py @@ -37,7 +37,7 @@ def on_query_completions(self, view, prefix, locations): 'completion': s['name'], } - if s['type'].endswith('function'): + if s['type'].endswith('function') or s['type'] == 'macro': args = s.get('args', '') arity = s.get('arity') if args: