├── .github └── workflows │ └── dispatch.yml ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── package.json ├── src ├── README.md ├── complete.ts └── html.ts └── test └── test-complete.ts /.github/workflows/dispatch.yml: -------------------------------------------------------------------------------- 1 | name: Trigger CI 2 | on: push 3 | 4 | jobs: 5 | build: 6 | name: Dispatch to main repo 7 | runs-on: ubuntu-latest 8 | steps: 9 | - name: Emit repository_dispatch 10 | uses: mvasigh/dispatch-action@main 11 | with: 12 | # You should create a personal access token and store it in your repository 13 | token: ${{ secrets.DISPATCH_AUTH }} 14 | repo: dev 15 | owner: codemirror 16 | event_type: push 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | package-lock.json 3 | /dist 4 | /test/*.js 5 | /test/*.d.ts 6 | /test/*.d.ts.map 7 | .tern-* 8 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /src 2 | /test 3 | /node_modules 4 | .tern-* 5 | rollup.config.js 6 | tsconfig.json 7 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 6.4.9 (2024-04-12) 2 | 3 | ### Bug fixes 4 | 5 | Fix a bug in `autoCloseTags` that made tags not close when typing > after an attribute. 6 | 7 | ## 6.4.8 (2024-01-23) 8 | 9 | ### Bug fixes 10 | 11 | Complete attribute names after whitespace in a tag even when completion isn't explicitly triggered. 12 | 13 | ## 6.4.7 (2023-11-27) 14 | 15 | ### Bug fixes 16 | 17 | Parse `script` tags with `application/json` type as JSON syntax. 18 | 19 | ## 6.4.6 (2023-08-28) 20 | 21 | ### Bug fixes 22 | 23 | `autoCloseTags` now generates two separate transactions, so that the completion can be undone separately. 24 | 25 | Add highlighting for the content of `