{"id":13441850,"url":"https://github.com/pangloss/vim-javascript","last_synced_at":"2025-05-13T19:14:13.288Z","repository":{"id":651031,"uuid":"293477","full_name":"pangloss/vim-javascript","owner":"pangloss","description":"Vastly improved Javascript indentation and syntax support in Vim.","archived":false,"fork":false,"pushed_at":"2025-03-21T17:26:47.000Z","size":902,"stargazers_count":3799,"open_issues_count":82,"forks_count":352,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-04-27T20:00:24.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.vim.org/scripts/script.php?script_id=4452","language":"Vim Script","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/pangloss.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2009-08-31T17:55:37.000Z","updated_at":"2025-04-27T15:39:38.000Z","dependencies_parsed_at":"2022-08-06T10:00:20.188Z","dependency_job_id":"eea7ef8e-3694-4652-a259-ca986dbb6283","html_url":"https://github.com/pangloss/vim-javascript","commit_stats":{"total_commits":1083,"total_committers":117,"mean_commits":9.256410256410257,"dds":"0.44321329639889195","last_synced_commit":"c470ce1399a544fe587eab950f571c83cccfbbdc"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangloss%2Fvim-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangloss%2Fvim-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangloss%2Fvim-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangloss%2Fvim-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pangloss","download_url":"https://codeload.github.com/pangloss/vim-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010813,"owners_count":21998995,"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-07-31T03:01:38.828Z","updated_at":"2025-05-13T19:14:13.269Z","avatar_url":"https://github.com/pangloss.png","language":"Vim Script","funding_links":[],"categories":["HarmonyOS","Vim Script","Vim script","Language Specific","Plugins / Themes / Dependencies"],"sub_categories":["Windows Manager","Javascript"],"readme":"# vim-javascript\n\nJavaScript bundle for vim, this bundle provides syntax highlighting and\nimproved indentation.\n\n\n## Installation\n\n### Install with native package manager\n\n      git clone https://github.com/pangloss/vim-javascript.git ~/.vim/pack/vim-javascript/start/vim-javascript\n\nsince Vim 8.\n\n### Install with [pathogen](https://github.com/tpope/vim-pathogen)\n\n      git clone https://github.com/pangloss/vim-javascript.git ~/.vim/bundle/vim-javascript\n\nalternatively, use a package manager like [vim-plug](https://github.com/junegunn/vim-plug)\n\n\n## Configuration Variables\n\nThe following variables control certain syntax highlighting plugins. You can\nadd them to your `.vimrc` to enable their features.\n\n-----------------\n\n```\nlet g:javascript_plugin_jsdoc = 1\n```\n\nEnables syntax highlighting for [JSDocs](http://usejsdoc.org/).\n\nDefault Value: 0\n\n-----------------\n\n```\nlet g:javascript_plugin_ngdoc = 1\n```\n\nEnables some additional syntax highlighting for NGDocs. Requires JSDoc plugin\nto be enabled as well.\n\nDefault Value: 0\n\n-----------------\n\n```\nlet g:javascript_plugin_flow = 1\n```\n\nEnables syntax highlighting for [Flow](https://flowtype.org/).\n\nDefault Value: 0\n\n-----------------\n\n```vim\naugroup javascript_folding\n    au!\n    au FileType javascript setlocal foldmethod=syntax\naugroup END\n```\n\nEnables code folding for javascript based on our syntax file.\n\nPlease note this can have a dramatic effect on performance. In some terminals\nthis may cause hangs during pasting. If you are affected by this, using\na different foldmethod (such as indent) may provide a better experience.\n\n\n## Concealing Characters\n\nYou can customize concealing characters, if your font provides the glyph you want, by defining one or more of the following\nvariables:\n\n    let g:javascript_conceal_function             = \"ƒ\"\n    let g:javascript_conceal_null                 = \"ø\"\n    let g:javascript_conceal_this                 = \"@\"\n    let g:javascript_conceal_return               = \"⇚\"\n    let g:javascript_conceal_undefined            = \"¿\"\n    let g:javascript_conceal_NaN                  = \"ℕ\"\n    let g:javascript_conceal_prototype            = \"¶\"\n    let g:javascript_conceal_static               = \"•\"\n    let g:javascript_conceal_super                = \"Ω\"\n    let g:javascript_conceal_arrow_function       = \"⇒\"\n    let g:javascript_conceal_noarg_arrow_function = \"🞅\"\n    let g:javascript_conceal_underscore_arrow_function = \"🞅\"\n\n\nYou can enable concealing within VIM with:\n\n    set conceallevel=1\n\nOR if you wish to toggle concealing you may wish to bind a command such as the following which will map `\u003cLEADER\u003el` (leader is usually the `\\` key) to toggling conceal mode:\n\n    map \u003cleader\u003el :exec \u0026conceallevel ? \"set conceallevel=0\" : \"set conceallevel=1\"\u003cCR\u003e\n\n\n## Indentation Specific\n\n* `:h cino-:`\n* `:h cino-=`\n* `:h cino-star`\n* `:h cino-(`\n* `:h cino-w`\n* `:h cino-W`\n* `:h cino-U`\n* `:h cino-m`\n* `:h cino-M`\n* `:h 'indentkeys'`\n\n## Contributing\n\nPlease follow the general code style\nguides (read the code) and in your pull request explain the reason for the\nproposed change and how it is valuable. All p.r.'s will be reviewed by a\nmaintainer(s) then, hopefully, merged.\n\nThank you!\n\n\n## License\n\nDistributed under the same terms as Vim itself. See `:help license`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpangloss%2Fvim-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpangloss%2Fvim-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpangloss%2Fvim-javascript/lists"}