# pangloss/vim-javascript

Vastly improved Javascript indentation and syntax support in Vim.

Repository: https://github.com/pangloss/vim-javascript
Canonical: https://ross.abutalabs.com/products/vim-javascript
Homepage: http://www.vim.org/scripts/script.php?script_id=4452
Language: Vim Script
License Family: other
Last push: 2025-03-21T17:26:47+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 12, release rhythm 8, longevity 100
- inputs: {"age_days": 6211, "days_push": 530, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3785, forks 351 (observed 2026-08-28T04:08:18.580140+00:00)

## What it is
A Vim plugin providing improved JavaScript syntax highlighting and indentation. It supports JSDoc, NGDoc, and Flow highlighting, syntax-based code folding, and character concealing.

## Use cases
- better javascript indentation in vim
- javascript syntax highlighting for vim
- highlight jsdoc comments in vim
- enable flow type syntax highlighting in vim
- fold javascript code by syntax in vim
- conceal javascript keywords with unicode glyphs

## When to choose
- you edit JavaScript in Vim and want better highlighting and indentation
- you need JSDoc or Flow syntax support in Vim
- you want syntax-based folding for JavaScript files

## When to avoid
- you use Neovim with built-in tree-sitter or LSP-based highlighting
- you primarily write TypeScript rather than JavaScript
- syntax folding performance issues affect your workflow

## Facets
- artifact type: plugin
- maturity: maintenance
- function: editor, developer-tools
- domain: developer-tools, text-editors, web-development
- platform: editor-plugin, cross-platform
- tags: vim, javascript, syntax-highlighting, indentation, jsdoc, flow

## Member repositories
- pangloss/vim-javascript (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.580140+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:27:41.600174+00:00, confidence not recorded.
  - readme: https://github.com/pangloss/vim-javascript (fetched 2026-08-28T04:08:18.580140+00:00, sha 0b9a573a7678)
  - homepage: http://www.vim.org/scripts/script.php?script_id=4452 (fetched 2026-08-29T09:22:13.458158+00:00, sha 5bd3a44b7744)
  - site_page: https://www.vim.org/about.php (fetched 2026-08-29T09:22:13.467210+00:00, sha 1bd2c1907ce5)
  - site_page: https://www.vim.org/docs.php (fetched 2026-08-29T09:22:13.469217+00:00, sha 438015e9e2e2)
  - site_page: http://www.vim.org/about.php (fetched 2026-08-29T09:22:13.470824+00:00, sha fbe78bde9535)
- Data as of 2026-08-30T08:39:29.467469+00:00.
