Bruno BELANYI
9806ad4267
Use 'backend' label in CI
2023-08-29 21:53:13 +01:00
Bruno BELANYI
4a099243ed
Remove Drone CI
ci/woodpecker/push/check Pipeline was successful
ci/woodpecker/manual/check Pipeline was successful
2023-04-01 17:11:28 +01:00
Bruno BELANYI
5e1ac9da61
Add Woodpecker CI workflow
2023-04-01 17:11:17 +01:00
Bruno BELANYI
a233ebe360
Release 0.3.0
...
continuous-integration/drone/push Build is passing
Some breaking changes in high-light groups, to better align with neovim.
2022-11-22 10:59:45 +01:00
Bruno BELANYI
45eb3e860c
Use 'parameter' high-light group
...
To align with neovim's usage, use `parameter` instead of
`variable.parameter`.
2022-11-22 10:57:06 +01:00
Bruno BELANYI
724abf12e8
Fix 'method' keyword high-lighting
...
It makes more sense to add it to `keyword.function`, neovim does not
have a `keyword.method` category, and `method` is for the method name
itself.
2022-11-22 10:28:33 +01:00
Bruno BELANYI
617e9adaeb
Add Makefile
2022-11-22 10:26:00 +01:00
Bruno BELANYI
6c30591188
Ignore rust-generated files
2022-11-22 10:25:29 +01:00
Bruno BELANYI
bc0f83fdeb
Simplify 'clang-format' pre-commit hook
2022-11-22 10:24:47 +01:00
Bruno BELANYI
81d0730632
Bump flake inputs
2022-11-22 10:24:47 +01:00
Bruno BELANYI
2917939176
Ignore comments and strings folding
continuous-integration/drone/push Build is passing
2022-11-22 10:15:25 +01:00
Bruno BELANYI
268dd92906
Remove duplicate high-lights
2022-11-22 10:14:39 +01:00
Bruno BELANYI
9d9238f284
Add 'import' high-lighting
2022-11-22 10:14:16 +01:00
Bruno BELANYI
089a585a41
Fix 'class_type' textobject
2022-11-22 10:05:37 +01:00
Bruno BELANYI
eb1d371499
Make 'bump-version' exit on error
continuous-integration/drone/push Build is passing
2022-06-13 13:43:12 +02:00
Bruno BELANYI
321560b029
Add 'bump-version' script
...
continuous-integration/drone/push Build is passing
It's always a good idea to simplify the release process.
2022-06-13 13:41:14 +02:00
Bruno BELANYI
d97857d25f
Release 0.2.0
...
The indentation and fold queries are now good enough that it merits a
minor bump.
2022-06-13 13:11:57 +02:00
Bruno BELANYI
984e3c09d0
Add record type folds
continuous-integration/drone/push Build is passing
2022-06-13 13:05:50 +02:00
Bruno BELANYI
7927a8cde7
Add record declaration indentation
continuous-integration/drone/push Build is passing
2022-06-13 11:30:16 +02:00
Bruno BELANYI
964c9a685d
Add values/expressions indent tests
2022-06-13 11:27:09 +02:00
Bruno BELANYI
59db3f195b
Add functions indent tests
2022-06-13 11:09:19 +02:00
Bruno BELANYI
e3b70d8880
Add control flow indent tests
2022-06-13 10:46:48 +02:00
Bruno BELANYI
7e4aeebc0d
Use consistent separator for test files
2022-06-13 10:45:56 +02:00
Bruno BELANYI
3b2796d9ad
Add class indent tests
2022-06-13 10:45:56 +02:00
Bruno BELANYI
f6c2b4c65e
Add indent tests
...
I made use of the 'nvim-treesitter' test runner for these.
2022-06-13 10:45:56 +02:00
Bruno BELANYI
d253cca017
Add script for neovim tests
...
This will be used to check the indentation queries.
2022-06-13 10:03:58 +02:00
Bruno BELANYI
c90d9d8212
Release 0.1.2
...
continuous-integration/drone/push Build is passing
Fix indentation *after* and indented block.
2022-06-12 21:06:11 +02:00
Bruno BELANYI
96edb1d0f7
Add '@indent_end' markers
...
Ensures for example that the following scenario
```tiger
let
in
(
) /* <- Inputting a new-line will indent the cursor */
end
```
Does not happen.
2022-06-12 21:04:18 +02:00
Bruno BELANYI
c7a439c896
Release 0.1.1
...
continuous-integration/drone/push Build is passing
Fixed the indentation queries.
2022-06-12 20:47:01 +02:00
Bruno BELANYI
6216812a33
Add variable declarations indents
continuous-integration/drone/push Build is passing
2022-06-12 20:45:07 +02:00
Bruno BELANYI
5545b9c926
Add values indents
2022-06-12 20:45:07 +02:00
Bruno BELANYI
8a56748e88
Add functions indents
2022-06-12 20:45:07 +02:00
Bruno BELANYI
7975ca2486
Add groupings indents
2022-06-12 20:40:56 +02:00
Bruno BELANYI
bca103a393
Fix indent queries
...
You need to add '@indent' to the *parent* node, which whill indent the
children. For some reason I understood it as marking the node that
should be indented when I wrote these.
These were tested manually in Neovim, I need to add a way to test them
correctly though.
2022-06-12 20:38:51 +02:00
Bruno BELANYI
2b2a75af43
Release 0.1.0
...
continuous-integration/drone/push Build is passing
With the extensions now integrated, and most queries being in a state
fit to start testing them, this is good enough for a first release.
2022-06-04 22:06:06 +02:00
Bruno BELANYI
5862966ddf
Add README
2022-06-04 22:04:10 +02:00
Bruno BELANYI
d6f624ebda
Add method text objects
2022-06-04 22:02:34 +02:00
Bruno BELANYI
a522aab9cd
Add class text objects
2022-06-04 22:00:08 +02:00
Bruno BELANYI
7d0ab1f40c
Add object-oriented indents
2022-06-04 21:54:44 +02:00
Bruno BELANYI
2e08482c67
Add object-oriented folds
2022-06-04 21:52:39 +02:00
Bruno BELANYI
c9efe870ab
Add class tags
2022-06-04 21:50:45 +02:00
Bruno BELANYI
746c8d27b8
Add method tags
2022-06-04 21:45:54 +02:00
Bruno BELANYI
b1c2da4cb4
Add 'self' built-in variable high-lighting
2022-06-04 21:45:54 +02:00
Bruno BELANYI
acb5765591
Make 'method' keyword more specific
2022-06-04 21:45:54 +02:00
Bruno BELANYI
065ad5f760
Make 'new' constructor keyword
2022-06-04 21:45:54 +02:00
Bruno BELANYI
9c51cbc93f
Add 'Object' built-in type
2022-06-04 21:45:54 +02:00
Bruno BELANYI
425890a6fc
Add methods high-lighting
2022-06-04 21:45:54 +02:00
Bruno BELANYI
555e10c736
Add object-oriented keywords high-lighting
2022-06-04 21:45:54 +02:00
Bruno BELANYI
60804f0ff0
Add object-oriented constructs
...
Another EPITA extension, although this is mentionned in the book.
2022-06-04 21:45:47 +02:00
Bruno BELANYI
21172e21e7
Fix assignment priority
...
The assignment operator is lower priority than any other binary
operator.
Otherwise the following:
```tiger
a := b | c
```
Would be parsed as:
```tiger
(a := b) | c
```
Instead of the expected:
```tiger
a := (b | c)
```
2022-06-04 21:45:40 +02:00