Skip to content

Commit

Permalink
Autocomplete macro parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
edelvalle committed May 18, 2017
1 parent f1ed407 commit b24d878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion super_elixir/autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b24d878

Please sign in to comment.