(type)
| 205 | vim.command("let b:ternBufferSentAt = " + str(curSeq)) |
| 206 | |
| 207 | def tern_asCompletionIcon(type): |
| 208 | if type is None or type == "?": return "(?)" |
| 209 | if type.startswith("fn("): |
| 210 | if vim.eval("g:tern_show_signature_in_pum") == "0": |
| 211 | return "(fn)" |
| 212 | else: |
| 213 | return type |
| 214 | if type.startswith("["): return "([])" |
| 215 | if type == "number": return "(num)" |
| 216 | if type == "string": return "(str)" |
| 217 | if type == "bool": return "(bool)" |
| 218 | return "(obj)" |
| 219 | |
| 220 | def tern_ensureCompletionCached(): |
| 221 | cached = vim.eval("b:ternLastCompletionPos") |
no outgoing calls
no test coverage detected