Commit graph

1716 commits

Author SHA1 Message Date
Sergio Alejandro Vargas
1d8dd9665c docs: Update nvim-treesitter-highlights
- Fix misspellings, missing punctuation and capitalization.
- Clarify whether highlights apply to identifiers (e.g. `TSConstant`)
  or to literal values (e.g. `TSConstBuiltin`).
- Extend examples.

See #1767
2021-09-14 21:15:20 +02:00
GitHub
60a92e3b00 Update lockfile.json 2021-09-11 02:18:25 +02:00
Otto Modinos
02350ab7da fix(fennel): update parser and all the queries 2021-09-10 22:24:25 +02:00
Uy Ha
d6c7996412 [cmake] add highlights for add_custom_target and add_custom_command 2021-09-10 21:11:38 +02:00
Uy Ha
25956f4274
[cmake] Add highlighting for boolean values (#1801)
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2021-09-10 11:42:23 -05:00
Uy Ha
e31bba5d97 [cmake] add highlights for if command constant 2021-09-10 17:01:54 +02:00
Cédric Barreteau
5cc7358dd4 Update ledger injections 2021-09-10 01:24:38 +02:00
delphinus
331b47d246 Use the color of variable 2021-09-09 23:00:05 +02:00
delphinus
398ec42d30 Set property color for destructuring assignment 2021-09-09 23:00:05 +02:00
Uy Ha
16f4833b57 [cmake]: Add highlighting for set command 2021-09-09 22:57:22 +02:00
Github Actions
ef1c89f73c [docgen] Update README.md
skip-checks: true
2021-09-08 23:02:00 +02:00
Uy Ha
a267604b8f Highlight function and macro declarations 2021-09-08 23:02:00 +02:00
GitHub
21a78dbd47 Update lockfile.json 2021-09-08 22:59:19 +02:00
Abin Simon
705918abc2 Typo fix and reword doc 2021-09-08 02:21:39 +02:00
Uy Ha
895706d081 Bind variable as @variable instead of variable_ref 2021-09-08 02:16:49 +02:00
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