Browse Source
It's porting of
591cb8fa11
in https://github.com/Shougo/ddc-nvim-lsp/pull/19.
If you alias this source to two or more names, the global environment
variable are conflicted.
Lua evaluation is exclusive, but `async` function in TypeScript may be
interrupted by other operations at right after the `await` statement.
`escapeVimAutoloadName` is for escaping Unicode sequences into vim
variable compatible names. eg:
- `012abcABC` -> `012abcABC`
- `lsp/ts` -> `lsp_47_ts`
- `a-b_c` -> `a_45_b_95_c`
Converting with escaping `_` to make this injective (=reversible).
And invocations of members of the source (eg: gatherCandidates) may be
shuffled after calling `ddc#refresh_candidates` because ddc.vim uses
`await` before calling them.
pull/9/head
Luma
3 years ago
2 changed files with 75 additions and 30 deletions
Loading…
Reference in new issue