MCPcopy
hub / github.com/ternjs/tern_for_vim / tern_fullBuffer

Function tern_fullBuffer

script/tern.py:121–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 return text
120
121def tern_fullBuffer():
122 return {"type": "full",
123 "name": tern_relativeFile(),
124 "text": tern_bufferSlice(vim.current.buffer, 0, len(vim.current.buffer))}
125
126def tern_bufferFragment():
127 curRow, curCol = vim.current.window.cursor

Callers 2

tern_runCommandFunction · 0.85
tern_sendBufferFunction · 0.85

Calls 2

tern_relativeFileFunction · 0.85
tern_bufferSliceFunction · 0.85

Tested by

no test coverage detected