{"id":13470142,"url":"https://github.com/mhartington/nvim-typescript","last_synced_at":"2025-03-26T09:32:20.512Z","repository":{"id":48390846,"uuid":"51251185","full_name":"mhartington/nvim-typescript","owner":"mhartington","description":"Typescript tooling for Neovim","archived":true,"fork":false,"pushed_at":"2021-07-28T14:13:48.000Z","size":6311,"stargazers_count":615,"open_issues_count":1,"forks_count":76,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-10-30T00:52:51.378Z","etag":null,"topics":["neovim","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhartington.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-07T14:52:43.000Z","updated_at":"2024-09-10T03:31:45.000Z","dependencies_parsed_at":"2022-08-28T11:01:29.199Z","dependency_job_id":null,"html_url":"https://github.com/mhartington/nvim-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhartington%2Fnvim-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhartington%2Fnvim-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhartington%2Fnvim-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhartington%2Fnvim-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhartington","download_url":"https://codeload.github.com/mhartington/nvim-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245626136,"owners_count":20646302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neovim","typescript"],"created_at":"2024-07-31T16:00:23.833Z","updated_at":"2025-03-26T09:32:19.684Z","avatar_url":"https://github.com/mhartington.png","language":"TypeScript","funding_links":["http://ko-fi.com/mhartington"],"categories":["Getting Started with (Awesome) TypeScript","TypeScript"],"sub_categories":["IDE"],"readme":"# Nvim-Typescript\n\n## DEPRECATED\n\nThe time has finally come. Since Neovim 0.5 is out, and LSP is officially supported, I'd suggest you migrate over to it. I have been using it instead of this plugin for a while and it solves many pain points that I've not been able to. This will stay around for older neovim release, but everyone should upgrade. Thanks for the support and for using this plugin 🚀\n\n\n\nnvim language service plugin for typescript\n\n![](https://github.com/mhartington/nvim-typescript/blob/master/deoplete-tss.gif)\n\n\n## Installation\n\nFirst make sure you have Neovim 0.3.8 or higher.\nThis includes the node-host that is required for this plugin.\n\nYou will need a global install of the neovim client as well.\nThis will make sure that neovim and node can communicate.\n\n\n```bash\nnpm install -g neovim\n```\n\nAfter installing the neovim client, you will have to run `:UpdateRemotePlugins`.\n\nYou might want to also have typescript install globally.\nBy default, this plugin will look in your `node_modules` folder first for typescript, but if that does not exist, it will use the global install.\n\n```bash\nnpm -g install typescript\n```\n\nThen add the following plugins. This example shows [Dein.vim](https://github.com/Shougo/dein.vim) and  [Plug.vim](https://github.com/junegunn/vim-plug), but any plugin manager will work.\n\n```viml\n \" Dein\n # REQUIRED: Add a syntax file. YATS is the best\n  call dein#add('HerringtonDarkholme/yats.vim')\n  call dein#add('mhartington/nvim-typescript', {'build': './install.sh'})\n \" For async completion\n  call dein#add('Shougo/deoplete.nvim')\n \" For Denite features\n  call dein#add('Shougo/denite.nvim')\n\n\n \" Vim-Plug\n # REQUIRED: Add a syntax file. YATS is the best\n  Plug 'HerringtonDarkholme/yats.vim'\n  Plug 'mhartington/nvim-typescript', {'do': './install.sh'}\n \" For async completion\n  Plug 'Shougo/deoplete.nvim'\n \" For Denite features\n  Plug 'Shougo/denite.nvim'\n\n\n\" Enable deoplete at startup\n\n  let g:deoplete#enable_at_startup = 1\n```\n\nIf errors occur after installing, make sure to run `./install.sh` in the plugin\ndirectory.  And try to run `:UpdateRemotePlugins` if you haven't already.\n\n## Limitation\n\nIf no completion is happening, please be sure to have a Typescript syntax file in your RTP. Older versions of Neovim do not include a default syntax for Typescript, so be sure to include one. A popular syntax file for Typescript is [yats.vim](https://github.com/HerringtonDarkholme/yats.vim). As of v0.4.3, Neovim includes a default Typescript syntax file that is based off yats. Running nvim-typescript with no syntax file could lead to unexpected behavior.\n\n## Open Open Source, or how to make this everyone's code\n\nIf you happened to build something and would love to make a PR, I would be more than happy to add contributors.\nIf something you do add happens to get merged (most likely it will :grin: ) you'll get a collaborator request. This has worked out very well in the Node community and I want it to happen here. This is as much my code as it is your code.\n\nSee:\n- [this site](https://openopensource.github.io/)\n- [this talk](https://youtu.be/wIUkWpg9FDY?t=5m10s)\n\n## Debugging\n\nThere are a few things you'll have to modify in your nvim config in order to be able to effectively work on this plugin:\n\n```viml\n  call dein#local('~/GitHub', {},['nvim-typescript'])\n  let $NVIM_NODE_LOG_FILE='nvim-node.log'\n  let $NVIM_NODE_LOG_LEVEL='warn'\n\n```\n This plug will try to log most things to warn as the node-client logs a lot of verbose output to debug/info.\n You will now be able to `tail -f /PATH_TO/nvim-node.log`, and see debug output appear.\n\n\n## TODOS\n\nIf there's a feature that you would like to see, feel free to open an issue or send a PR.\n\n\nLike this plugin? Buy me a coffee on [KoFI](http://ko-fi.com/mhartington)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhartington%2Fnvim-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhartington%2Fnvim-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhartington%2Fnvim-typescript/lists"}