A js plugin implementation of JS omnicompletion, using the TypeScript language service.
This was built to give a premier TypeScript experience on Windows, through Vim.
The demo shows the following aspects:
- Quick info through the status line
- Autocompletion
- Error flagging and highlighting
- Goto definition
- Vim 7.4
- Node / npm (recommended version 6+ and 3+)
- vim-electrify
Recommended:
-
Clone into your plugins folder:
git clone https://github.com/extr0py/vim-electrify-typescript-completion.git
-
Install dependencies
npm install
Once the plugin is installed, it will automatically be activated for JavaScript and TypeScript files.
:TSDefinition
Navigates to the definition of an object, if possible.
- Make sure to have a valid tsconfig.json or jsconfig.json for best results
- Not yet tested for compatibility with AutoComplPop, YouCompleteMe, or Syntastic.
- Recommend disabling these plugins for typescript files.
MIT License