Commit graph

1211 commits

Author SHA1 Message Date
AdnoC
4d2813f03b use locked revision when downloading via git 2021-04-15 16:56:49 +02:00
AdnoC
234557b95e fix windows check 2021-04-15 16:56:49 +02:00
AdnoC
ef546ef7c8 style 2021-04-15 16:56:49 +02:00
AdnoC
add6eaf181 Do not use builtin tar on Windows
Several parsers (typescript and ocaml specifically) contain symlinks in
their repo. The tar built into Windows cannot handle them.

So, on Windows just use git to download parsers.
2021-04-15 16:56:49 +02:00
Grzegorz Milka
d02caad890 ledger: update highlights
I have updated the highlights in the upstream repo in
941bbf6098.
2021-04-15 10:15:29 +02:00
Stephan Seitz
4df2667303 feat: Add TSEditQueryUserAfter 2021-04-14 16:23:21 +02:00
Stephan Seitz
4598f90f34 docs: Add documentation for :TSEditQuery 2021-04-14 16:23:21 +02:00
Stephan Seitz
4214646953 feat: Add TSEditQuery 2021-04-14 16:23:21 +02:00
GitHub
b6fc47d5f1 Update lockfile.json 2021-04-14 15:55:29 +02:00
Stephan Seitz
fe6f2352c2 Fix #1182: fix TSRange:parent 2021-04-14 12:33:07 +02:00
GitHub
7691dda94e Update lockfile.json 2021-04-13 15:23:17 +02:00
Stephan Seitz
eb742e304a locals(Go): add namespace definition for import_spec_list
This would define `foo`
```go
import (
	foo "fmt"
)
```
2021-04-13 13:34:57 +02:00
GitHub
615afe3541 Update lockfile.json 2021-04-10 23:28:10 +02:00
Santos Gallegos
2a946ddc7e
Query: update highlights (#1175) 2021-04-10 15:18:44 -05:00
Stephan Seitz
7e9e8f2af9 Add support for Java records
Ref: https://github.com/tree-sitter/tree-sitter-java/pull/73
2021-04-10 12:27:54 +02:00
GitHub
8ccd808035 Update lockfile.json 2021-04-10 02:47:20 +02:00
Santos Gallegos
c3603ddad1
Yaml: update locals (#1172)
The parser doesn't break the symbols in `*` `&` from the name of
anchors/aliases. So go to definition doesn't work, but highlight of
usage does :D

Test with

```yaml
Defaults: &defaults
  Company: foo
  Item: 123

Computer:
  <<: *defaults
  <<: *defaults
  Price: 3000
```

Ref https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18
2021-04-09 19:36:19 -05:00
GitHub
de4fbe8e08 Update lockfile.json 2021-04-08 23:56:47 +02:00
GitHub
9f001b3a40 Update lockfile.json 2021-04-08 23:33:53 +02:00
Github Actions
61594636d7 [docgen] Update README.md
skip-checks: true
2021-04-08 22:50:41 +02:00
elianiva
5ead7a0fa7 fixup: remove generate_from_grammar 2021-04-08 22:50:41 +02:00
Github Actions
676bc550a6 [docgen] Update README.md
skip-checks: true
2021-04-08 22:50:41 +02:00
elianiva
ffbf8f19a4 feat: add scss injection for svelte/vue 2021-04-08 22:50:41 +02:00
elianiva
8ac8f2c39b feat: add scss parser 2021-04-08 22:50:41 +02:00
GitHub
1f00ecdfa3 Update lockfile.json 2021-04-08 10:14:33 +02:00
Santos Gallegos
5f53f55371
Fix usage of string.sub (#1164)
From https://www.lua.org/pil/20.html

> The call string.sub(s,i,j) extracts a piece of the string s, from the i-th to the j-th character inclusive.

This was breaking textobjects movement.
2021-04-07 19:23:14 -05:00
GitHub
fe5fd3d79c Update lockfile.json 2021-04-07 17:43:09 +02:00
github-actions[bot]
20e4566d09
Update lockfile.json (#1156)
Co-authored-by: GitHub <noreply@github.com>
2021-04-07 14:35:01 +00:00
Stephan Seitz
f8314a4df3 highlights(go): Highlight const_declaration
Fixes #1157
2021-04-07 13:03:44 +02:00
Stephan Seitz
bf0ae40cf4 fix(health): let CC check behave like in real installation
Fixes #1146
2021-04-07 13:00:42 +02:00
GitHub
175c8c397c Update lockfile.json 2021-04-07 11:33:35 +02:00
NullVoxPopuli
6df2368242 Update highlights.scm 2021-04-07 05:33:51 +02:00
Stephan Seitz
826683b1bf Fix: allow empty path in utils.get_at_path 2021-04-06 21:48:25 +02:00
Marco Hinz
06c9ef8104 TSModuleInfo: change doc 2021-04-06 21:32:46 +02:00
Marco Hinz
fc5e37fe48 TSModuleInfo: make new buffer work with given argument 2021-04-06 21:32:46 +02:00
Marco Hinz
c64c8a4017 TSModuleInfo: use custom buffer 2021-04-06 21:32:46 +02:00
Stephan Seitz
099b921542 injections(js): add regex highlighting 2021-04-06 21:27:47 +02:00
Stephan Seitz
853caf5b3d highlights(rust): Add operator "?" 2021-04-06 19:50:23 +02:00
GitHub
11e1db3ec2 Update lockfile.json 2021-04-06 03:13:08 +02:00
Santos Gallegos
79040e539d
Fix incremental selection (#1135)
So, there are two problems:

- There was an infinite loop when inc selection was initiated
  from an injection.
- The comparison was wrong when the whole file was selected,
  this is because ts matches the EOF.
  This is an extra line with one char (EOF).

I put a workaround to try to select the node from the main
tree, but we should try to select the node from the parent tree of the
injection, but I wasn't able to get the parent tree from the node.
2021-04-05 20:02:58 -05:00
Christian Clason
fb8762271c Small update to README
For the sake of completeness, mention that `folding` is not a module in list of available modules.
2021-04-05 16:44:17 +02:00
GitHub
992e4db9c1 Update lockfile.json 2021-04-05 15:47:44 +02:00
Marco Hinz
8840641acc TSModuleInfo: cleaner indentation 2021-04-05 15:41:00 +02:00
Marco Hinz
b8f17f89fb TSModuleInfo: sort mods and languages 2021-04-05 15:41:00 +02:00
Santos Gallegos
4bfccba843 Comment: highlight text nodes
As requested in https://github.com/nvim-treesitter/nvim-treesitter/issues/236#issuecomment-797878646
2021-04-03 10:48:09 +02:00
kiyan
7deedc4939 fix: prev_node nil check 2021-04-02 18:41:51 +02:00
Stephan Seitz
052590ae55 healthcheck: raise error when ABI is too old 2021-04-02 06:05:56 +02:00
Himujjal
0b2ec9d266 improved zig grammar and queries 2021-04-02 03:29:21 +02:00
Himujjal
83bfcde7c2 fixed some errors 2021-04-02 03:29:21 +02:00
GitHub
9b5e82ff9d Update lockfile.json 2021-04-01 21:24:57 +02:00