Commit Graph

103 Commits

Author SHA1 Message Date
Dmitriy Pleshevskiy e7507ddd98
grammar: add support of referencing connection
Closes #18
2023-06-22 02:12:18 +03:00
Dmitriy Pleshevskiy 731be00903
grammar: some cleanup 2023-06-21 23:52:40 +03:00
Dmitriy Pleshevskiy 1395b25364
queries: improve indents 2023-06-21 19:12:39 +03:00
Dmitriy Pleshevskiy 95479ef189
grammar: remove seq from the _end rule 2023-06-21 18:42:17 +03:00
Dmitriy Pleshevskiy 6b5e1d9123
grammar: don't use immediate token in the escape sequence...
to fix first character in the connection path shape key

Related #21
2023-06-21 17:49:14 +03:00
Dmitriy Pleshevskiy fdcb5613a5
grammar: fix unquoted shape identifier with escape sequence
Closes #21
2023-06-21 17:37:14 +03:00
Dmitriy Pleshevskiy 0003298cb8
grammar: add support of list variables
Closes #16
2023-06-21 16:51:47 +03:00
Dmitriy Pleshevskiy 8a9d50043d
grammar: some cleanup 2023-06-21 12:16:49 +03:00
Dmitriy Pleshevskiy 7b6ac61fa9
queries: fix some injections 2023-06-17 00:43:01 +03:00
Dmitriy Pleshevskiy 435eddcf32
queries: add folds
Closes #6
2023-06-16 18:37:15 +03:00
Dmitriy Pleshevskiy 3db7cfa22d
queries: add simple indents
Closes #7
2023-06-16 18:36:06 +03:00
Dmitriy Pleshevskiy 7a7c699be2
scanner: skip whitespace before check block comment 2023-06-16 18:32:09 +03:00
Dmitriy Pleshevskiy 9828b023cd
grammar: add support of underscore keyword...
...to ref the parent container

Closes #5
2023-06-16 07:42:49 +03:00
Dmitriy Pleshevskiy e67c50d7cb
queries: use comment hightlights for line and block
nix: lock stable nixpkgs
2023-06-16 07:34:32 +03:00
Dmitriy Pleshevskiy 8aac147e8e
grammar: add support of near attribute
grammar: add more utils

Closes #2
2023-06-16 06:37:19 +03:00
Dmitriy Pleshevskiy d113cea211
add more examples from original repo 2023-06-16 05:34:27 +03:00
Dmitriy Pleshevskiy 37230c006f
grammar: add support of font attribute 2023-06-16 05:20:03 +03:00
Dmitriy Pleshevskiy eec6b0d050
update wasm 2023-06-16 05:15:10 +03:00
Dmitriy Pleshevskiy ef95506be6
doc: update screenshots 2023-06-16 01:42:08 +03:00
Dmitriy Pleshevskiy 21edafd556
grammar: add util to make blocks and lists 2023-06-16 00:59:42 +03:00
Dmitriy Pleshevskiy 3b38ac4fb8
queries: fixup highlight tests 2023-06-16 00:55:59 +03:00
Dmitriy Pleshevskiy 8d8fd1bdf5
grammar: add classes
Closes #12
2023-06-16 00:43:30 +03:00
Dmitriy Pleshevskiy 4ecaafdbe0
doc: add mirrors to the readme 2023-06-15 12:09:18 +03:00
Dmitriy Pleshevskiy 9a1ec96632
grammar: add text-transform attribute
Closes #11
2023-06-14 18:17:22 +03:00
Dmitriy Pleshevskiy d1ace018ae
grammar: add vertical-gap, horizontal-gap
Closes #14
2023-06-14 18:11:42 +03:00
Dmitriy Pleshevskiy c6b812fd8d
grammar: add grid-row, grid-column, grid-gap
Closes #13
2023-06-14 12:47:09 +03:00
Dmitriy Pleshevskiy eb6910126f
doc: change repository url to use latest version 2023-03-21 10:26:57 +03:00
Dmitriy Pleshevskiy 1f771e72af
grammar: add fill-pattern style attribute
Closes #9
2023-03-21 10:25:22 +03:00
Dmitriy Pleshevskiy 02af3938f1
grammar: add new attributes 2023-02-16 23:31:02 +03:00
Dmitriy Pleshevskiy 47cb1df7c8
doc: update screenshot 2023-01-05 17:14:51 +03:00
Dmitriy Pleshevskiy 6a04387009
grammar: add link and tooltip attributes
Closes #18
2023-01-05 16:53:43 +03:00
Dmitriy Pleshevskiy 32b1fa5555
grammar: add escape sequence for label and attr value 2023-01-05 16:53:09 +03:00
Dmitriy Pleshevskiy b9fa5785b4
grammar: add escape sequence for unquoted string
Closes #8
2023-01-05 16:28:22 +03:00
Dmitriy Pleshevskiy 4fdf38aebe
chore: add help to makefile 2023-01-05 16:19:01 +03:00
Maximilian Linhoff ca74052114 Fix missing comma in neovim install instructions 2022-12-21 10:31:53 +00:00
Dmitriy Pleshevskiy 5459cdd065
format lua config 2022-12-13 16:42:07 +03:00
Dmitriy Pleshevskiy 7a053d6bf1
fix parsing single-line block
Closes #11
2022-12-13 16:41:34 +03:00
Dmitriy Pleshevskiy 9e60a469c5
add missed highlight for block comments 2022-12-13 12:15:16 +03:00
Dmitriy Pleshevskiy c8de4f83f0
add block comment
Closes #10
2022-12-13 11:26:52 +03:00
Dmitriy Pleshevskiy a1a2091ebf
fix highlight tests 2022-12-11 14:20:31 +03:00
Dmitriy Pleshevskiy fc3754658c
remove escape sequence for single quoted string 2022-12-11 14:16:23 +03:00
Dmitriy Pleshevskiy 3fe837dccb
add install section for neovim to readme 2022-12-10 23:15:19 +03:00
Dmitriy Pleshevskiy 16d8b4c5f7
remove unnecessary choice 2022-12-10 23:09:11 +03:00
Dmitriy Pleshevskiy 03904d1cd3
use pre-commit hook instead 2022-12-10 23:00:30 +03:00
Dmitriy Pleshevskiy d5bbf88da6
change mode for pre-push script hook 2022-12-10 22:57:33 +03:00
Dmitriy Pleshevskiy 5eb0507baa
Add support of any escape character in text block
See more here https://github.com/terrastruct/d2/issues/420
2022-12-10 22:56:41 +03:00
Dmitriy Pleshevskiy 24cdec0cb3
improve strings and scanner for text block 2022-12-10 05:23:27 +03:00
Dmitriy Pleshevskiy 1f0e76c937
add comment injection 2022-12-10 03:51:39 +03:00
Dmitriy Pleshevskiy 84103fee37
fix available characters in the identifier 2022-12-09 23:56:54 +03:00
Dmitriy Pleshevskiy 3c622036f6
remove invalid string quote 2022-12-09 22:31:39 +03:00