Commit graph

1701 commits

Author SHA1 Message Date
Uy Ha
6fdbc7055d Bind function and macro commands as @keyword.function 2021-09-08 02:16:49 +02:00
Uy Ha
39526996ba Bind variable_ref as @variable instead of @none 2021-09-08 02:16:49 +02:00
Stevan Milic
8c105dedec Add scala folds 2021-09-04 04:36:30 +02:00
Stevan Milic
59f881fff8 Update scala highlights
* add highlights for imports

* add highlights for type constructors

* add highlights for constants

* add highlights for interpolation string

* add highlights for comments through injection
2021-09-04 04:36:30 +02:00
github-actions[bot]
06e84da7d7
Update lockfile.json (#1779)
Co-authored-by: GitHub <noreply@github.com>
2021-09-01 09:44:21 -05:00
rydesun
f900e5dfc8
Add tree-sitter-dot (#1770)
* Add tree-sitter-dot

* Fix DOT highlights

* highlights(DOT): add HTML string

* Remove DOT ftdetect

Vim and Neovim runtime have added DOT filetype detection

* Update DOT highlights
2021-09-01 09:25:45 -05:00
github-actions[bot]
34de06d4e8
Update lockfile.json (#1778)
Co-authored-by: GitHub <noreply@github.com>
2021-09-01 14:05:26 +00:00
Sergio Alejandro Vargas
9446ff4aa4 highlights(c): make sizeof a keyword.operator 2021-09-01 07:07:16 +02:00
Sergio Alejandro Vargas
a5f62c5764 highlights(lua): Add Lua 5.1 built-in functions 2021-09-01 07:07:16 +02:00
github-actions[bot]
e46b2545b0
Update lockfile.json (#1775)
Co-authored-by: GitHub <noreply@github.com>
2021-08-30 22:50:09 -05:00
Wilman Barrios
6cd6a29213
Fix method access using php nullsafe operator (#1773) 2021-08-30 22:06:09 -05: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
partizan
b6bf33df41 Add python to .editorconfig 2021-08-30 17:45:27 +02:00
Joaquín León
45610f18a3 Reorder json5 queries 2021-08-30 11:42:41 +02:00
GitHub
0058a4e18d Update lockfile.json 2021-08-30 08:00:30 +02:00
Andrew Helwer
b89192b3dc @number -> @keyword 2021-08-30 07:35:12 +02:00
Andrew Helwer
2d1e142451 Updated highlight queries for tlaplus 2021-08-30 07:35:12 +02:00
GitHub
1f769e9b08 Update lockfile.json 2021-08-30 07:35:12 +02:00
leo60228
93f415029d
Add tree-sitter-pioasm with highlights and injections (#1759)
* add tree-sitter-pioasm with highlights and injections

* [docgen] Update README.md
skip-checks: true

* remove ada injection from pioasm

* address review

* remove unnecessary python predicate

Co-authored-by: Github Actions <actions@github>
2021-08-29 12:10:15 -05:00
Stevan Milic
a90e5f4c5f
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>
2021-08-28 14:07:44 -05:00
Wilman Barrios
1e4c846d01
highlights(php): add missings operators ?-> and => (#1729)
This will:

- add nullsafe `?->` as `@operator`
- add separator for associative arrays `=>` as `@operator`
2021-08-26 12:15:09 -05:00
Thomas Vigouroux
73798e3793 chore(vim): update to latest version
Avoids using the lockfile update PR because it is broken.
2021-08-26 11:44:13 +02:00
Github Actions
5f1fb77137 [docgen] Update README.md
skip-checks: true
2021-08-26 09:55:32 +02:00
Thomas Vigouroux
5549058779 feat(vim): highlight highlight_statement correctly
Fixes #1747
2021-08-26 09:55:32 +02:00
Stuart Mashaal
4f2265632b
add keywords to scala highlights (#1662)
* add keywords to scala highlights

* special capture for special keywords

* add while to 'repeat' capture

* pr cleanup, exmaples in CONTRIBUTING.md

* add backquotes for consistency in docs

* group @repeat keywords, fix null

* comment-out 'macro' and 'forSome'

* fix 'this' and 'super' keyword

* remove accidental files 🤦

* update revision

* fix "super" and "this"

* godammit these .metals files are killing me

* why did I commit this???

Co-authored-by: Stuart Mashaal <smashaal@hopper.com>
2021-08-25 18:38:45 -05:00
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
maxxnino
cbc42914bf highlight(zig) highlight all caps is a constant
* in some context, like translate c macro
 * which is use all CAPS for define constant
2021-08-24 08:35:15 +02:00
Thomas Vigouroux
7241ddaff4 chore(issues): make bug_report an issue form 2021-08-23 16:40:41 +02:00
GitHub
9db0c346b8 Update lockfile.json 2021-08-23 15:07:13 +02:00
Thomas Vigouroux
14f8219fa6 chore(vim): update to latest version 2021-08-23 15:00:06 +02:00
Santos Gallegos
79a0230dbd Viml: update queries 2021-08-23 09:23:15 +02:00
Thomas Vigouroux
012e2161e3 chore: provide a script to repin a language 2021-08-23 09:18:03 +02:00
maxxnino
0286b72809 Update lockfile.json 2021-08-23 08:15:07 +02:00
maxxnino
2f73d7c0a8 highlight(zig): rework query
* improve query performance 120ms -> 6ms
 * correct highlight for field, type and function
 * add highlight for escape/format sequence in string
2021-08-23 08:15:07 +02:00
Santos Gallegos
ddcfc01979
Query: allow to pass a list to get_capture_matches (#1693) 2021-08-22 20:22:20 -05:00
Wilman Barrios
af96150a2d
highlights(php): add instanceof as @keyword (#1728) 2021-08-21 05:05:01 +00:00
GitHub
599d5233c3 Update lockfile.json 2021-08-20 19:04:17 +02:00
Andrew Helwer
ca0a7f5a8d Highlight some keyword.function nodes as just keywords 2021-08-20 18:56:14 +02: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
Thomas Vigouroux
fb3a7a8bcc feat(vim): support augroups 2021-08-20 14:51:13 +02:00
Github Actions
0d9c84c01a [docgen] Update README.md
skip-checks: true
2021-08-20 10:22:01 +02:00
Thomas Vigouroux
43c70a73e7 fix(viml): update and support mappings 2021-08-20 10:22:01 +02:00
GitHub
6cf0a6692d Update lockfile.json 2021-08-19 16:53:30 +02:00
Aleksei Abakumkin
0336fd8834 Remove redunant capture. 2021-08-18 22:00:31 +02:00
Aleksei Abakumkin
0259291e4a Update CSharp highlights. 2021-08-18 22:00:31 +02:00