Commit graph

806 commits

Author SHA1 Message Date
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
Uy Ha
a267604b8f Highlight function and macro declarations 2021-09-08 23:02:00 +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
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
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
Wilman Barrios
6cd6a29213
Fix method access using php nullsafe operator (#1773) 2021-08-30 22:06:09 -05:00
Joaquín León
45610f18a3 Reorder json5 queries 2021-08-30 11:42:41 +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
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
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
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
Santos Gallegos
79a0230dbd Viml: update queries 2021-08-23 09:23:15 +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
Wilman Barrios
af96150a2d
highlights(php): add instanceof as @keyword (#1728) 2021-08-21 05:05:01 +00:00
Andrew Helwer
ca0a7f5a8d Highlight some keyword.function nodes as just keywords 2021-08-20 18:56:14 +02:00
Andrew Helwer
da2336ea80 Added TLA+ grammar & queries 2021-08-20 18:56:14 +02:00
Thomas Vigouroux
fb3a7a8bcc feat(vim): support augroups 2021-08-20 14:51:13 +02:00
Thomas Vigouroux
43c70a73e7 fix(viml): update and support mappings 2021-08-20 10:22:01 +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
Clay
7e82ea4e7b Disable combined injections for HEEx 2021-08-18 14:07:59 +02:00
Clay
92fe58ca83 Add doctype highlights 2021-08-18 14:07:59 +02:00
Clay
caf14b70ea Update surface version, fix highlights 2021-08-18 14:07:59 +02:00
Clay
57c2081e3f Add HEEx language support, add missing commentstrings 2021-08-18 14:07:59 +02:00
Sergio Alejandro Vargas
a1be6c9d4f highlights(lua): Add semicolons 2021-08-17 10:18:33 +02:00
Thomas Vigouroux
344b36866b fix(vim): highlight more punctuation 2021-08-16 21:31:22 +02:00
Thomas Vigouroux
f2076b267e feat: add support for vim 2021-08-16 15:09:53 +02:00
Santos Gallegos
460a26ef32
Lua: highlight uppercase variables as constants (#1690) 2021-08-14 13:33:55 -05:00
jpe90
39a53ffbbc
Add comment highlighting for keywords in Haskell (#1695)
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-08-14 18:27:05 +00:00
Santos Gallegos
8d6c804f3f
Query: update locals (#1692) 2021-08-14 00:26:31 -05:00
Santos Gallegos
ef85abba7f Query: highlight numbers 2021-08-14 01:32:11 +02:00
Connor Lay (Clay)
d06ab28766
Fix: Improve Elixir highlighting performance (#1682) 2021-08-13 12:09:16 -05:00
maxxnino
2dd36fa585
highlights(zig): label, switch item, operator, punctuation, field property (#1685)
Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
2021-08-12 23:36:01 -05:00