From b24d878a27af40346e4e9fe88cc742f75d15e93c Mon Sep 17 00:00:00 2001 From: Eddy Ernesto del Valle Pino Date: Thu, 18 May 2017 15:10:25 +0200 Subject: [PATCH] Autocomplete macro parameters. --- super_elixir/autocomplete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: