Commit graph

15 commits

Author SHA1 Message Date
Jirgn
096f0e91be fix: incorrect hightlight groups 2021-11-26 22:04:59 +01:00
Jirgn
a0ad73493e fix: typo in highlight group punct(u)ation 2021-11-26 22:04:59 +01:00
Jirgn
979c32493d feat: add fusion grammar and highlights 2021-11-26 22:04:59 +01:00
numToStr
bbbb2f1f32 chore: add test for ecma private fields & methods 2021-11-25 15:42:24 +01:00
Stephan Seitz
b004d74bb5 Add assert that "highlight-assertions" is executable 2021-11-24 17:29:55 +01:00
Stephan Seitz
c7634f16de Mark failing indent tests to add them to CI
Expected failures should be monitored so that we don't have regressions
and also remove failure marks when they are resolved.
2021-11-24 17:29:55 +01:00
Stephan Seitz
53ba38327e Add highlight tests 2021-11-24 17:29:55 +01:00
Cezary Drożak
e87ed0fdaa feat: add "experimental" key to parsers
feat(ci): mark parsers as experimental in README
2021-10-07 22:43:09 +02:00
partizan
cd4c0a7526
test: Add tests for is_in_node_range (#1756)
* fix: is_in_node_range now includes end line and col

This fixes no indents at the end of python files

Refs #1136

* update scala highlights (#1760)

* add type highlights

* add call expression highlights

* add function definition highlights

* add expression highlights

* add literals highlights

* add operator highlights

* add punctuation highlights

* add comment highlights

Co-authored-by: Stevan Milic <stevan.milic@tradecore.com>

* test: Add unit tests

* Revert "fix: is_in_node_range now includes end line and col"

This reverts commit 5a721fef56.

* refactor test

* apply stylua

* fix luacheck

* update `describe` text

* smallfix

Co-authored-by: Stevan Milic <stevan.milic@yahoo.com>
Co-authored-by: Stevan Milic <stevan.milic@tradecore.com>
2021-08-30 20:18:04 +02:00
leo60228
1dea3928a2 add compound_lit.c test 2021-08-01 11:01:47 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
Jędrzej Boczar
af3537fbe5 tests/indent: factor out most of the code into common.lua 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
dbb1550aaf tests/indent: move common code out of main lua/ directory 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
db97170e4e tests/indent: move the run helper functions to top-level 2021-04-23 21:21:38 +02:00
Jędrzej Boczar
63a88c873f move all tests to top-level tests/ directory 2021-04-23 21:21:38 +02:00