GitHub
77d247b300
Update lockfile.json
2022-01-24 16:45:55 +01:00
Christian Clason
97ffd5c43d
doc: stress need to :TSUpdate after lockfile change
2022-01-24 16:28:02 +01:00
Thomas Vigouroux
2bdaff2ab0
feat(vim): highlight "higlight" variants
2022-01-24 13:24:31 +01:00
Thomas Vigouroux
073a3ac929
feat(vim): support syntax command
2022-01-24 13:24:31 +01:00
Ryan Roden-Corrent
f67eb83be5
feat(indent): Implement basic indent for gdscript.
...
Indent is not handled correctly when adding new lines.
It seems that functions/loops/etc. are not recognized until they have at
least one indented block.
For example, if you enter a newline after `func foo():`, the cursor will
not be indented. If you manually indent and add a line like `pass`,
e.g.:
```
func foo():
pass
```
now any insertions above or below `pass` will be indented correctly.
This might be an issue with the grammar, as it seems to apply to highlights
as well.
The following will not be highligted
```
func foo():
```
However, the following will be:
```
func foo():
pass
```
2022-01-24 13:11:01 +01:00
GitHub
674df40120
Update lockfile.json
2022-01-24 13:07:59 +01:00
Michael Härtl
d3dbd4590e
fix(phpdoc) Improve keyword query
2022-01-24 11:47:11 +01:00
Clay
9e90866bce
Upgrade to HEEx parser 0.3.0
2022-01-24 08:29:42 +01:00
Clay
c7d5ba7212
Add new Elixir language injections
2022-01-24 08:27:44 +01:00
Clay
7a1c404fe7
Fix highlights of module attributes and doc sigils
2022-01-24 08:27:44 +01:00
GitHub
3f8829cfb8
Update lockfile.json
2022-01-23 22:42:18 +01:00
Christian Clason
c162991fa1
ci: bump tree-sitter to 0.20.4
...
fixes issues with `parser.h` not being generated
2022-01-23 22:24:16 +01:00
Stephan Seitz
bb33aea03c
Set CXX standard per parser and fix Norg
2022-01-23 16:27:25 +01:00
Github Actions
9419107d86
[docgen] Update README.md
...
skip-checks: true
2022-01-23 16:27:25 +01:00
Stephan Seitz
a37c97545f
Allow compilation via makefile
2022-01-23 16:27:25 +01:00
Jozef Grajciar
045cb86d44
Add tree-sitter-norg
2022-01-23 16:27:25 +01:00
Christian Clason
fcabd8dc18
fix: bump phpdoc parser to 0.0.6
2022-01-23 16:10:50 +01:00
Christian Clason
bb319daf5f
feat: specify abi version for generate on newer ts cli
...
Check tree-sitter CLI version and if > 0.20.3 and generating a parser
from grammar, use `--abi=vim.treesitter.language_version`.
Besides being able to opt-in to newer ABI benefits, this is a necessary
workaround for an upstream bug with 0.20.3, where `parser.h` is not
generated if the (optional) `--abi` flag is omitted.
2022-01-22 22:56:50 +01:00
Munif Tanjim
020905ff26
ci: fix cache path for rust cargo
2022-01-22 20:54:53 +01:00
Christian Clason
b71d7cbd60
ci: drop windows+clang
...
takes significantly longer than other combinations
2022-01-22 19:32:24 +01:00
Ryan Roden-Corrent
59ddebd75c
fix: Don't require node for gdscript.
...
The upstream repo has pre-generated bindings at:
https://github.com/PrestonKnopp/tree-sitter-gdscript/tree/master/src
2022-01-22 17:22:53 +01:00
GitHub
6039e4782a
Update lockfile.json
2022-01-22 14:55:01 +01:00
Stephan Seitz
9c63cfe72f
ci: remove ccache
...
ccache did take too long to install on MacOS
2022-01-22 13:20:20 +01:00
Pedro Castro
6a958eccef
highlights(r): change groups priority
2022-01-22 11:31:58 +01:00
monkoose
500f58f5ac
docs: add missing vim table in the example
2022-01-22 11:09:39 +01:00
Christian Clason
00736412a3
ci: bump tree-sitter to v0.20.3
2022-01-22 10:29:27 +01:00
Stephan Seitz
3c462d362f
ci: Avoid rust-cache (failures and current git dependency)
2022-01-21 22:06:17 +01:00
Stephan Seitz
5f30cec075
ci: stop uploading artifacts (binary release archives soonish?)
2022-01-21 22:06:17 +01:00
Stephan Seitz
77fe45968c
ci: fix cache path on Windows
2022-01-21 22:06:17 +01:00
Stephan Seitz
3372bfbcf2
ci: use curl on Windows CI
2022-01-21 22:06:17 +01:00
Stephan Seitz
8b0398c5e3
ci: cache using ccache
2022-01-21 22:06:17 +01:00
Stephan Seitz
ff97dfac7f
ci: add cache for Rust dependency
2022-01-21 22:06:17 +01:00
Christian Clason
2fa395f01d
ci: use stable tag for latest nvim release
2022-01-21 22:06:17 +01:00
Christian Clason
16c773c0f8
ci: use stable tag for latest nvim release
2022-01-21 19:38:01 +01:00
Christian Clason
4e4b58f8e9
ci: only run one compiler each on macos, ubuntu
2022-01-21 18:58:40 +01:00
Christian Clason
b7d4d8a55d
ci: avoid duplicate CI runs
...
* run CI on push to master or synchronize PR
* cancel in-progress workflows for updated PR
2022-01-21 18:58:40 +01:00
Christian Clason
bf59e0a3fb
ci: bump neovim and tree-sitter cli to latest version
2022-01-21 18:58:40 +01:00
Munif Tanjim
2c7c87570b
ci: cache parsers for workflows/tests
2022-01-21 17:52:06 +01:00
GitHub
e7875c025b
Update lockfile.json
2022-01-21 17:47:08 +01:00
Munif Tanjim
fb7b6a266e
test(indent): rust - add test for indented comment
2022-01-21 16:40:36 +01:00
Munif Tanjim
c2e3938510
fix(indent): rust - support newline after closing brace
2022-01-21 16:40:36 +01:00
Munif Tanjim
7a6d93ca5b
feat(indent): ecma - support common use-cases
2022-01-21 16:40:36 +01:00
Munif Tanjim
782e299cd6
fix(indent): c/cpp - support newline after closing brace
2022-01-21 16:40:36 +01:00
Munif Tanjim
8f9d4ada35
feat(indent): ecma - support try_catch and if_else
2022-01-21 16:40:36 +01:00
Munif Tanjim
bb60706433
feat(indent): support @aligned_indent for python
2022-01-21 10:51:51 +01:00
Munif Tanjim
46438064ac
refactor(indent): extract functions and support metadata
2022-01-21 10:51:51 +01:00
Munif Tanjim
85140a7a47
feat(indent): use native Query:iter_captures
2022-01-21 10:51:51 +01:00
Munif Tanjim
c0110e34aa
feat: rewrite indent module
2022-01-21 10:51:51 +01:00
Munif Tanjim
baf94219aa
feat: improve indent module
...
get_node_at_line should return appropriate child if available
2022-01-21 10:51:51 +01:00
Github Actions
f048886f82
Update README
2022-01-20 19:22:27 +01:00