Commit graph

1739 commits

Author SHA1 Message Date
Stephan Seitz
5fa6e27427 highlights(c): add __attribute__ 2021-09-19 14:13:50 +02:00
GitHub
2dfe72f32a Update lockfile.json 2021-09-18 01:09:42 +02:00
Joaquín León
02a0719424 Kotlin queries: Handle package statements 2021-09-18 00:13:19 +02:00
Santos Gallegos
8b7f70d366 Ecma: increase priority of template_substitution
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1688
2021-09-17 22:08:12 +02:00
Github Actions
b7cdd739e4 [docgen] Update README.md
skip-checks: true
2021-09-17 22:03:47 +02:00
Stephan Seitz
440d666b68 test 2021-09-17 22:03:47 +02:00
Github Actions
8b8c434290 [docgen] Update README.md
skip-checks: true
2021-09-17 22:03:47 +02:00
Stephan Seitz
37d93ec017 highlights(c/cpp): react to upstream changes to attributes 2021-09-17 22:03:47 +02:00
Stephan Seitz
1092b6ba3a highlights(cpp): add support for coroutines 2021-09-17 22:03:47 +02:00
GitHub
ee8f5f7852 Update lockfile.json 2021-09-17 21:11:02 +02:00
Stephan Seitz
dea66fb4ce parsers: add glsl parser 2021-09-17 20:52:13 +02:00
GitHub
4b3d58d39c Update lockfile.json 2021-09-16 23:13:55 +02:00
GitHub
51a6cbe5fd Update lockfile.json 2021-09-16 22:56:05 +02:00
Matthew Wynn
649a7e6fe6 indents(hcl): add more indentation rules for HCL 2021-09-16 22:26:48 +02:00
GitHub
1b6e5abfcd Update lockfile.json 2021-09-16 18:18:56 +02:00
rydesun
85fec328d2 Update DOT injections
Add comment
2021-09-16 18:12:07 +02:00
GitHub
182056640c Update lockfile.json 2021-09-16 18:11:44 +02:00
Joakker
16a4da493c New kotlin parser 2021-09-15 12:47:03 +02:00
GitHub
53797ad88f Update lockfile.json 2021-09-14 21:44:41 +02:00
Ronnie Magatti
016c757d11 Address highlight comments about cwd, path, module 2021-09-14 21:36:55 +02:00
Ronnie Magatti
dcf20b8a23 Better differentiate 'keywords' 2021-09-14 21:36:55 +02:00
Stephan Seitz
b9d662cf89 chore: fix formatting in parsers.lua 2021-09-14 21:27:26 +02:00
Thomas Vigouroux
14e9df138b fix(lang): only use first part in multi-lang 2021-09-14 21:27:26 +02:00
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