Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prabirshrestha/asyncomplete-tscompletejob.vim

provides typescript autocomplete for asyncomplete.vim via tscompletejob
https://github.com/prabirshrestha/asyncomplete-tscompletejob.vim

asyncomplete code-completion typescript vim

Last synced: about 1 month ago
JSON representation

provides typescript autocomplete for asyncomplete.vim via tscompletejob

Awesome Lists containing this project

README

        

Typescript source for asyncomplete.vim via tscompletejob
========================================================

Provide [TypeScript](https://www.typescriptlang.org/) autocompletion source for [asyncomplete.vim](https://github.com/prabirshrestha/asyncomplete.vim)
via [tscompletejob](https://github.com/runoshun/tscompletejob). Internally tscompletejob uses [tsserver](https://github.com/Microsoft/TypeScript/wiki/Standalone-Server-(tsserver))

### Requirements

asyncomplete-tscompletejob works on Vim8+ and Neovim.

### Installing

```vim
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'runoshun/tscompletejob'
Plug 'prabirshrestha/asyncomplete-tscompletejob.vim'
```

#### Registration

```vim
call asyncomplete#register_source(asyncomplete#sources#tscompletejob#get_source_options({
\ 'name': 'tscompletejob',
\ 'allowlist': ['typescript'],
\ 'completor': function('asyncomplete#sources#tscompletejob#completor'),
\ }))
```

### Credits
* [https://github.com/runoshun/tscompletejob](https://github.com/runoshun/tscompletejob)