1
0
Fork 0
mirror of https://github.com/pnx/tree-sitter-dotenv synced 2026-06-16 01:54:56 +02:00
Commit graph

55 commits

Author SHA1 Message Date
f3b1f1f20d
Merge pull request #11 from pnx/dependabot/npm_and_yarn/npm-d4df07ee46
build(deps): bump tree-sitter-cli from 0.26.7 to 0.26.8 in the npm group
2026-04-05 18:44:23 +02:00
dependabot[bot]
f6408ef1f3
build(deps): bump tree-sitter-cli from 0.26.7 to 0.26.8 in the npm group
Bumps the npm group with 1 update: [tree-sitter-cli](https://github.com/tree-sitter/tree-sitter/tree/HEAD/crates/cli/npm).


Updates `tree-sitter-cli` from 0.26.7 to 0.26.8
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases)
- [Commits](https://github.com/tree-sitter/tree-sitter/commits/v0.26.8/crates/cli/npm)

---
updated-dependencies:
- dependency-name: tree-sitter-cli
  dependency-version: 0.26.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-05 11:52:45 +00:00
fe14ae318e
Merge pull request #10 from pnx/dependabot/npm_and_yarn/npm-4a653acbba
build(deps): bump node-addon-api from 8.6.0 to 8.7.0 in the npm group
2026-03-29 19:06:50 +02:00
dependabot[bot]
971995ce53
build(deps): bump node-addon-api from 8.6.0 to 8.7.0 in the npm group
Bumps the npm group with 1 update: [node-addon-api](https://github.com/nodejs/node-addon-api).


Updates `node-addon-api` from 8.6.0 to 8.7.0
- [Release notes](https://github.com/nodejs/node-addon-api/releases)
- [Changelog](https://github.com/nodejs/node-addon-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nodejs/node-addon-api/compare/v8.6.0...v8.7.0)

---
updated-dependencies:
- dependency-name: node-addon-api
  dependency-version: 8.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-29 11:52:35 +00:00
783a064b8b
Merge pull request #9 from pnx/dependabot/npm_and_yarn/npm-7dfa3f94ba
build(deps): bump tree-sitter-cli from 0.26.6 to 0.26.7 in the npm group
2026-03-17 08:16:00 +01:00
dependabot[bot]
e26c385655
build(deps): bump tree-sitter-cli from 0.26.6 to 0.26.7 in the npm group
Bumps the npm group with 1 update: [tree-sitter-cli](https://github.com/tree-sitter/tree-sitter/tree/HEAD/crates/cli/npm).


Updates `tree-sitter-cli` from 0.26.6 to 0.26.7
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases)
- [Commits](https://github.com/tree-sitter/tree-sitter/commits/v0.26.7/crates/cli/npm)

---
updated-dependencies:
- dependency-name: tree-sitter-cli
  dependency-version: 0.26.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-15 11:52:38 +00:00
d4d7c6509a
Merge pull request #8 from pnx/dependabot/npm_and_yarn/npm-b1e5722b9b
build(deps): bump the npm group with 2 updates
2026-03-01 16:19:08 +01:00
5eaa7a8b57
Merge pull request #7 from pnx/dependabot/github_actions/actions-674967a53d
ci: bump actions/upload-artifact from 6 to 7 in the actions group
2026-03-01 16:18:53 +01:00
dependabot[bot]
1be5c56459 build: regenerate parser [dependabot skip] 2026-03-01 11:59:41 +00:00
dependabot[bot]
b6ca577bd3
build(deps): bump the npm group with 2 updates
Bumps the npm group with 2 updates: [node-addon-api](https://github.com/nodejs/node-addon-api) and [tree-sitter-cli](https://github.com/tree-sitter/tree-sitter/tree/HEAD/crates/cli/npm).


Updates `node-addon-api` from 8.5.0 to 8.6.0
- [Release notes](https://github.com/nodejs/node-addon-api/releases)
- [Changelog](https://github.com/nodejs/node-addon-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nodejs/node-addon-api/compare/v8.5.0...v8.6.0)

Updates `tree-sitter-cli` from 0.26.5 to 0.26.6
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases)
- [Commits](https://github.com/tree-sitter/tree-sitter/commits/v0.26.6/crates/cli/npm)

---
updated-dependencies:
- dependency-name: node-addon-api
  dependency-version: 8.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: tree-sitter-cli
  dependency-version: 0.26.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 11:59:19 +00:00
dependabot[bot]
127f2abf33
ci: bump actions/upload-artifact from 6 to 7 in the actions group
Bumps the actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 11:58:58 +00:00
f6432aac35
Merge pull request #6 from pnx/dependabot/github_actions/actions-229d4e1b45
ci: bump the actions group with 2 updates
2026-02-08 09:53:18 +01:00
dependabot[bot]
d3c87eb8b1
ci: bump the actions group with 2 updates
Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/checkout` from 4 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

Updates `actions/upload-artifact` from 4 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-08 08:52:51 +00:00
a97968392d
Merge pull request #5 from pnx/dependabot/go_modules/go-fe18591071
build(deps): bump github.com/tree-sitter/go-tree-sitter from 0.24.0 to 0.25.0 in the go group
2026-02-08 09:52:41 +01:00
dependabot[bot]
6118d6004d
build(deps): bump github.com/tree-sitter/go-tree-sitter in the go group
Bumps the go group with 1 update: [github.com/tree-sitter/go-tree-sitter](https://github.com/tree-sitter/go-tree-sitter).


Updates `github.com/tree-sitter/go-tree-sitter` from 0.24.0 to 0.25.0
- [Commits](https://github.com/tree-sitter/go-tree-sitter/commits)

---
updated-dependencies:
- dependency-name: github.com/tree-sitter/go-tree-sitter
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-08 08:52:19 +00:00
ca2d33feb0
Merge pull request #4 from pnx/dependabot/npm_and_yarn/tar-fs-2.1.4
Bump tar-fs from 2.1.1 to 2.1.4
2026-02-08 09:50:55 +01:00
7878ce1646 v0.0.5 2026-02-08 09:45:45 +01:00
4f3ca7dc47 ci: validate queries 2026-02-08 09:43:52 +01:00
d403ce05d8 queries/highlights.scm: format 2026-02-08 09:43:52 +01:00
8adb2f1d52 add .github/workflows/release.yml 2026-02-08 09:43:52 +01:00
564c8799a4 add dependabot regeneration config 2026-02-08 09:43:52 +01:00
8a40a33fa9 adding .github/workflows/ci.yml 2026-02-08 09:43:52 +01:00
911009681d cargo: update version to 0.0.4 2026-02-08 09:43:52 +01:00
ed2b8211fa cargo: update tree-sitter to 0.26.5 2026-02-08 09:43:52 +01:00
8bae258c71 src/scanner.c: advanceWS should be static 2026-02-08 09:43:52 +01:00
67b30407dd update genereted parser files 2026-02-08 09:43:52 +01:00
9d34364530 update tree-sitter-cli to 0.26.5 2026-02-08 09:43:52 +01:00
8a9a93e4a0 npm: update package versions 2026-02-08 09:43:52 +01:00
dependabot[bot]
e045d7924d
Bump tar-fs from 2.1.1 to 2.1.4
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.1 to 2.1.4.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.1...v2.1.4)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-08 00:58:33 +00:00
ad14aba1d0 tree-sitter.json: add highlights 2025-11-05 14:35:20 +01:00
58608e4796 update outdated files via tree-sitter init -u 2025-11-05 14:33:55 +01:00
940f387a98 add tree-sitter.json 2025-11-05 14:31:41 +01:00
228d3d070b README.md: Update nvim filetype pattern. 2025-09-01 00:42:55 +02:00
43a08ed422
Merge pull request #2 from LZDQ/fix/escape-dot
Fix lua pattern matching by escaping the dot
2025-09-01 00:38:12 +02:00
LZDQ
dc88c758ca Fix lua pattern matching by escaping the dot 2025-08-31 19:42:58 +08:00
3d4755e851
Merge pull request #1 from feryardiant/fix/highlight-comment
Fix missing comment highlight
2025-01-27 06:53:49 +01:00
Fery Wardiyanto
76dc8830e2 highlight: fix missing comment highlight
Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
2025-01-26 22:51:47 +07:00
db198067ee fix go modules 2024-12-14 00:22:05 +01:00
4770a26814 update repo url 2024-12-12 22:22:24 +01:00
5cc2cc1b89 bindings: rust: include scanner and highlights queries. 2024-12-12 22:15:54 +01:00
0c2b73e65d bindings: python: include highlights queries 2024-12-12 22:15:24 +01:00
56e2f4e02b bindings: go: include scanner. 2024-12-12 22:13:19 +01:00
791ec1b1af README.md: add install instructions for neovim 2024-12-12 19:52:50 +01:00
c7013c130e adding highlights 2024-12-12 19:41:14 +01:00
7223d87d9e adding variable support 2024-12-12 19:22:14 +01:00
8c66bd3605 make string_content optional instead of matching empty values. 2024-12-12 17:23:37 +01:00
4d71a8548b make no distinction between single quoted and double quoted string tokens. 2024-12-12 17:05:31 +01:00
dabedec847 adding hexadecimal and decimal as a subtoken for integer 2024-12-12 16:55:10 +01:00
d0b54d61aa Update grammar to correctly produce value token
Problem was before that for example the input [0x000KKK] would produce a
hexadecimal and a value token (for the respective parts)

However, the more correct way is to have the whole input identified as a
value token. basicly if the whole input between "=" and a special
"end-of-assignment" token can't be identified as a string,bool,integer
whatever. it should be identified as a value token.
2024-12-12 10:55:11 +01:00
e7a97e884a value token: "=" can be part of the value. 2024-12-11 16:53:04 +01:00