Skip to content

Commit

Permalink
testing new completion code
Browse files Browse the repository at this point in the history
  • Loading branch information
David Furió committed Jun 30, 2017
1 parent be7688d commit f50c289
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pythonx/cm_sources/swift-completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def cm_refresh(self, info, ctx, *args):
lnum = ctx['lnum']
startcol = ctx['startcol']
col = startcol + 1
col = ctx['col']
enc = self.nvim.options['encoding']

content = '\n'.join(buf)
Expand Down Expand Up @@ -103,7 +102,7 @@ def cm_refresh(self, info, ctx, *args):
except subprocess.CalledProcessError:
return

# logger.debug("args: %s, result: [%s]", args, output.decode())
logger.info("args: %s, result: [%s]", args, output.decode())

matches = []
for item in json_list:
Expand All @@ -123,6 +122,6 @@ def cm_refresh(self, info, ctx, *args):
'info': item['descriptionKey'] + doc,
})

# logger.debug("matches: [%s]", matches)
# logger.info("matches: [%s]", matches)

self.complete(info, ctx, startcol, matches)

0 comments on commit f50c289

Please sign in to comment.