{"id":13897471,"url":"https://github.com/ternjs/tern_for_vim","last_synced_at":"2025-12-17T20:46:55.783Z","repository":{"id":63674731,"uuid":"9747035","full_name":"ternjs/tern_for_vim","owner":"ternjs","description":"Tern plugin for Vim","archived":false,"fork":false,"pushed_at":"2024-02-13T19:16:28.000Z","size":93,"stargazers_count":1831,"open_issues_count":53,"forks_count":100,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-09T11:05:24.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ternjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-04-29T11:53:51.000Z","updated_at":"2025-03-26T06:53:57.000Z","dependencies_parsed_at":"2024-06-09T00:43:28.266Z","dependency_job_id":null,"html_url":"https://github.com/ternjs/tern_for_vim","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternjs%2Ftern_for_vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternjs%2Ftern_for_vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternjs%2Ftern_for_vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ternjs%2Ftern_for_vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ternjs","download_url":"https://codeload.github.com/ternjs/tern_for_vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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":[],"created_at":"2024-08-06T18:03:37.164Z","updated_at":"2025-12-17T20:46:50.745Z","avatar_url":"https://github.com/ternjs.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Tern for Vim\n\nThis is a [Vim][vim] plugin that provides [Tern][tern]-based\nJavaScript editing support.\n\n[vim]: http://www.vim.org/\n[tern]: http://ternjs.net\n\n**NOTE**: This project is not being actively maintained right now. If\nyou'd be interested in becoming a maintainer, write me or open an\nissue.\n\nIn JavaScript files, the package will hook into\n[omni completion][omni] to handle autocompletion, and provide the\nfollowing commands:\n\n[omni]: http://vimdoc.sourceforge.net/htmldoc/version7.html#new-omni-completion\n\n`TernDef`: Jump to the definition of the thing under the cursor.\n\n`TernDoc`: Look up the documentation of something.\n\n`TernType`: Find the type of the thing under the cursor.\n\n`TernRefs`: Show all references to the variable or property under the\ncursor.\n\n`TernRename`: Rename the variable under the cursor.\n\n## Installation\n\n#### Manual\n\nIf you use [Pathogen][path] or something similar, you can clone this\nrepository to your `~/.vim/bundle` (or equivalent) directory. Make\nsure you have [node.js][node] and [npm][npm] installed (Tern is a\nJavaScript program), and install the tern server by running `npm\ninstall` in the `bundle/tern_for_vim` directory.\n\n__Caution__:\nBecause the node process is not run using your standard shell, the NVM version of node.js won't work.\nYou need a global node executable.\n\n#### apt-vim\n\nInstall [apt-vim](https://github.com/egalpin/apt-vim) and then run the\nfollowing in terminal:\n\n`apt-vim install -y https://github.com/ternjs/tern_for_vim.git`\n\n\n## Configuration\n\nThe command used to start the Tern server can be overridden by setting\n`tern#command` to an array of strings (the binary and its arguments,\nif any). You might need this if your node is installed somewhere\nthat's not in the default path, or if you want to install Tern in some\ncustom location.\n\nThe variable `tern#is_show_argument_hints_enabled` can be set to\nsomething truthy to make the plugin display the arguments to the\ncurrent function at the bottom of the screen. This feature is\ncurrently not very mature, and likely to make your editing laggy.\n\nTern uses `.tern-project` files to configure loading libraries and\nplugins for a project. See the [Tern docs][docs] for details.\n\n[docs]: http://ternjs.net/doc/manual.html#configuration\n[path]: https://github.com/tpope/vim-pathogen\n[node]: http://nodejs.org/\n[npm]: https://npmjs.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fternjs%2Ftern_for_vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fternjs%2Ftern_for_vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fternjs%2Ftern_for_vim/lists"}