Commit graph

514 commits

Author SHA1 Message Date
Joakker
d8595fb923 Add support for json5 2021-08-25 15:13:00 +02:00
Eduardo Cuducos
a76dbe7335 Replaces curl argument: --no-progress-meter -> --silent
Fix #1748
2021-08-25 09:24:08 +02:00
Thomas Vigouroux
ac9f7a2d5a fix(dowload): don't display curl progress
Fixes #1731
2021-08-24 17:41:01 +02:00
Santos Gallegos
ddcfc01979
Query: allow to pass a list to get_capture_matches (#1693) 2021-08-22 20:22:20 -05:00
Andrew Helwer
17d75b31ea Fixed lua style issues, updated grammar version to fix macOS build issues 2021-08-20 18:56:14 +02:00
Andrew Helwer
a19912e105 Filetype is tla 2021-08-20 18:56:14 +02:00
Andrew Helwer
da2336ea80 Added TLA+ grammar & queries 2021-08-20 18:56:14 +02:00
Santos Gallegos
955f19c64a
Add jsx to javascript (#1696)
This is mainly so the playground doesn't error when opening the jsx
query files.
2021-08-20 11:29:33 -05:00
Clay
57c2081e3f Add HEEx language support, add missing commentstrings 2021-08-18 14:07:59 +02:00
Thomas Vigouroux
f2076b267e feat: add support for vim 2021-08-16 15:09:53 +02:00
maxxnino
53160520e2 Update new query and parser for zig 2021-08-11 08:16:16 +02:00
Santos Gallegos
70b43fbe21 CI: fix update lockfile job
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1661#issuecomment-894722369
2021-08-08 14:50:36 +02:00
Munif Tanjim
6ed86a8516
feat: allow 'revision' override in parser config (#1661) 2021-08-07 18:23:11 -05:00
Munif Tanjim
35a8fe5a81 fix: query_predicate - nth 2021-08-03 21:45:16 -05:00
Connor Lay (Clay)
6944173e87
Feature: Add Surface language and integrate with Elixir (#1645)
* Add initial surface highlights & injections

* Additional surface highlights

* Filetype detection, fix injections

* Fix Elixir function highlight when left is an identifier

* Add surface parser

* Fix comment highlights

* Surface folds, indents, better highlights

* Highlight surface components & directives

* Restore comments Elixir injections
2021-08-01 19:09:41 +00:00
Pierre Poupin
605d71ecd3 feature: make godotResource compatible with gdresource filetype 2021-07-29 21:09:54 +02:00
Pierre Poupin
670275de30 feature: add godotResource queries 2021-07-29 07:34:15 +02:00
mads kjeldgaard
d4c645c4d9
recurse_local_nodes: type check local_def to ensure it is a table (#1331) 2021-07-21 16:31:55 -05:00
Simon Hauser
e473630fe0 fix: make additional_vim_regex_highlighting actually accept a list 2021-07-20 09:36:22 +02:00
Laurence Tratt
37a220526d "-z" needs to come before "-f". 2021-07-19 21:51:33 +02:00
Laurence Tratt
968ce80c99 Add -z switch to tar.
Some versions of tar automatically infer `-z` if a `.gz` (or other compressed
extension) file is passed -- but some, including OpenBSD's, don't do this and
require an explicit `-z`. As far as I know, any version of tar which
automatically unzips files supports `-z` so this should be a backwards
compatible change for most versions of tar.
2021-07-19 21:51:33 +02:00
26797767+krnik
8df19b91ad Update transferred fish repo info 2021-07-19 21:27:07 +02:00
Tomas Sandven
a6121f014d Add YANG parser 2021-07-19 16:03:27 +00:00
Andrew He
50af926d81 Folds: remove ending marks for folds; they only confuse vim when multiple closes on the same line are expected 2021-07-18 16:57:57 +00:00
Santos Gallegos
9be9ebda0a Re-attach module when the file type is changed
Requires https://github.com/neovim/neovim/pull/14995
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1249
2021-07-18 16:44:25 +00:00
lmlorca
fb5d6e04a8 add @tag.attribute for html like attributes 2021-07-14 10:13:13 +02:00
Santos Gallegos
647268183f
Highlights: define string.special (#1551)
* Highlights: define string.special

This was in our CONTRIBUTING.md file,
but wasn't defined.

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1405

* Use string.escape
2021-07-11 15:59:53 -05:00
Stephan Seitz
4571d57251
New stylua version (#1555) 2021-07-11 20:59:06 +00:00
Santos Gallegos
8eb8cc61e3 downcase predicate: nil protection
get_node_text could be nil if the range is invalid.

With https://github.com/neovim/neovim/pull/15030/
this fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1531
2021-07-09 20:05:37 +02:00
Munif Tanjim
97761acaff Folds: support 'foldminlines' 2021-07-08 21:42:02 +02:00
Michael Hoffmann
61411b27c5
remove packer and nomad from hcl.used_by (#1527) 2021-07-07 18:12:41 -05:00
Andrew He
901406cf7a Folds: fix fold deduplication and improve start/stop logic 2021-07-06 19:00:59 +02:00
Stephan Seitz
53d92f65bd parsers: Teal now requires generate from grammar 2021-07-06 01:55:45 +02:00
Santos Gallegos
8b876207e6 Update used_by for parent parsers
html_tags and ecma don't have a parser of they own,
but that's actually just to get around to inherit
common queries.

When editing these "base" queries,
the playground breaks. Having them in used_by would fix this.
2021-07-05 12:39:00 +02:00
Santos Gallegos
bd3363e01d Checkhealth: include injections
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1459
2021-07-05 12:34:47 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
antonk52
90f15d9bf7 feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
antonk52
bd9095e969 feat(keywords) add keyword.return & keyword.yield 2021-07-04 21:49:17 +02:00
Shane Hird
5f60666d97 Fixed linting issues 2021-07-04 14:59:13 +02:00
Shane Hird
7dccbbad6c Reduce diffs from master 2021-07-04 14:59:13 +02:00
Shane Hird
a8d64922fa Re-introduce prompting for installation 2021-07-04 14:59:13 +02:00
Shane Hird
303121e0ec Improved passing bang to functions 2021-07-04 14:59:13 +02:00
Shane Hird
289e73b889 Fix ensure_installed function 2021-07-04 14:59:13 +02:00
Shane Hird
76ea2b8871 TSUpdate does not install if up to date 2021-07-04 14:59:13 +02:00
Shane Hird
b46580fb66 Use bang for TSInstall commands 2021-07-04 14:59:13 +02:00
mhoffm
b67442f112 fix missing maintainer in hcl parser config 2021-07-02 19:47:30 +02:00
Uy Ha
e01e79c46c Add external scanner for cmake parser 2021-07-02 08:37:02 +02:00
Uy Ha
9dac8b403d Add maintainer info 2021-07-02 08:37:02 +02:00
Uy Ha
a51f25819a [WIP] tree-sitter-cmake integration 2021-07-02 08:37:02 +02:00
mhoffm
54eb49bf9c add used_by directive for some of the tools that are using hcl 2021-07-02 01:56:25 +02:00