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

30 commits

Author SHA1 Message Date
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
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
0512ebe640 test/corpus/values.txt: split tests 2024-12-11 12:01:38 +01:00
c0d7c31981 adding license and readme 2024-12-11 11:53:53 +01:00
527ac2368f adding more number types 2024-12-11 00:43:34 +01:00
adc9052da5 add integer and boolean values 2024-12-10 22:24:26 +01:00
948e93ffac Initial Commit 2024-12-10 19:51:21 +01:00