MCPcopy Index your code
hub / github.com/ternjs/tern_for_vim / tern_echoWrap

Function tern_echoWrap

script/tern.py:269–276  ·  view source on GitHub ↗
(data, name="")

Source from the content-addressed store, hash-verified

267 vim.command("echo 'no documentation found'")
268
269def tern_echoWrap(data, name=""):
270 text = data
271 if len(name) > 0:
272 text = name+": " + text
273 col = int(vim.eval("&columns"))-23
274 if len(text) > col:
275 text = text[0:col]+"..."
276 vim.command("echo '{0}'".format(text))
277
278def tern_lookupType():
279 data = tern_runCommand("type")

Callers 2

tern_lookupTypeFunction · 0.85
tern_lookupArgumentHintsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected