Commit graph

806 commits

Author SHA1 Message Date
Otto Modinos
4f96b955d6 fix(fennel): update parser and all the queries 2021-09-17 21:06:36 +02:00
Uy Ha
d74ad4d2d6 [cmake] add highlights for add_custom_target and add_custom_command 2021-09-17 21:06:36 +02:00
Uy Ha
5a8b5ab019 [cmake] Add highlighting for boolean values (#1801)
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2021-09-17 21:06:36 +02:00
Uy Ha
2540831e20 [cmake] add highlights for if command constant 2021-09-17 21:06:36 +02:00
Cédric Barreteau
d66aa15f89 Update ledger injections 2021-09-17 21:06:36 +02:00
delphinus
aa91a90bc9 Use the color of variable 2021-09-17 21:06:36 +02:00
delphinus
15a19efe9e Set property color for destructuring assignment 2021-09-17 21:06:36 +02:00
Uy Ha
594d69d4ce [cmake]: Add highlighting for set command 2021-09-17 21:06:36 +02:00
Uy Ha
610bbc4e89 Highlight function and macro declarations 2021-09-17 21:06:36 +02:00
Uy Ha
a8fa230faa Bind variable as @variable instead of variable_ref 2021-09-17 21:06:36 +02:00
Uy Ha
55317ca5f2 Bind function and macro commands as @keyword.function 2021-09-17 21:06:36 +02:00
Uy Ha
d1098ba234 Bind variable_ref as @variable instead of @none 2021-09-17 21:06:36 +02:00
Stevan Milic
d9850a6049 Add scala folds 2021-09-17 21:06:36 +02:00
Stevan Milic
bb7fa60165 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-17 21:06:36 +02:00
rydesun
20a226652c 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-17 21:06:36 +02:00
Sergio Alejandro Vargas
3d170201c2 highlights(c): make sizeof a keyword.operator 2021-09-17 21:06:36 +02:00
Sergio Alejandro Vargas
6558806a20 highlights(lua): Add Lua 5.1 built-in functions 2021-09-17 21:06:36 +02:00
Wilman Barrios
ff3ad305c9 Fix method access using php nullsafe operator (#1773) 2021-09-17 21:06:36 +02:00
Joaquín León
5db2c7b64e Reorder json5 queries 2021-09-17 21:06:36 +02:00
Andrew Helwer
0af57b07b9 @number -> @keyword 2021-09-17 21:06:36 +02:00
Andrew Helwer
4917a31541 Updated highlight queries for tlaplus 2021-09-17 21:06:36 +02:00
leo60228
df06bfead2 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-09-17 21:06:36 +02:00
Stevan Milic
1e7436ca37 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-09-17 21:06:36 +02:00
Wilman Barrios
b04a62a970 highlights(php): add missings operators ?-> and => (#1729)
This will:

- add nullsafe `?->` as `@operator`
- add separator for associative arrays `=>` as `@operator`
2021-09-17 21:06:36 +02:00
Thomas Vigouroux
56fcf55139 feat(vim): highlight highlight_statement correctly
Fixes #1747
2021-09-17 21:06:36 +02:00
Stuart Mashaal
88d5356d61 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-09-17 21:06:36 +02:00
Joakker
14e44a2685 Add support for json5 2021-09-17 21:06:36 +02:00
maxxnino
70987d8f84 highlight(zig) highlight all caps is a constant
* in some context, like translate c macro
 * which is use all CAPS for define constant
2021-09-17 21:06:36 +02:00
Santos Gallegos
e84a8b8f27 Viml: update queries 2021-09-17 21:06:36 +02:00
maxxnino
b52cccf899 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-09-17 21:06:36 +02:00
Wilman Barrios
ec17095e22 highlights(php): add instanceof as @keyword (#1728) 2021-09-17 21:06:36 +02:00
Andrew Helwer
7ff6ee6e9d Highlight some keyword.function nodes as just keywords 2021-09-17 21:06:36 +02:00
Andrew Helwer
5821a85165 Added TLA+ grammar & queries 2021-09-17 21:06:36 +02:00
Thomas Vigouroux
3c940fdfb5 feat(vim): support augroups 2021-09-17 21:06:36 +02:00
Thomas Vigouroux
512e0e6c87 fix(viml): update and support mappings 2021-09-17 21:06:36 +02:00
Aleksei Abakumkin
39ecd66240 Remove redunant capture. 2021-09-17 21:06:36 +02:00
Aleksei Abakumkin
0e4c2c5801 Update CSharp highlights. 2021-09-17 21:06:36 +02:00
Clay
fda30099bf Disable combined injections for HEEx 2021-09-17 21:06:36 +02:00
Clay
7933e5c6ab Add doctype highlights 2021-09-17 21:06:36 +02:00
Clay
ca7a682aff Update surface version, fix highlights 2021-09-17 21:06:36 +02:00
Clay
a9e32d0cc5 Add HEEx language support, add missing commentstrings 2021-09-17 21:06:36 +02:00
Sergio Alejandro Vargas
524faffe63 highlights(lua): Add semicolons 2021-09-17 21:06:36 +02:00
Thomas Vigouroux
5cc225af44 fix(vim): highlight more punctuation 2021-09-17 21:06:36 +02:00
Thomas Vigouroux
1877e03bfa feat: add support for vim 2021-09-17 21:06:36 +02:00
Santos Gallegos
9c5dd185c4 Lua: highlight uppercase variables as constants (#1690) 2021-09-17 21:06:36 +02:00
jpe90
159ca7b35c Add comment highlighting for keywords in Haskell (#1695)
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-09-17 21:06:36 +02:00
Santos Gallegos
975e54d067 Query: update locals (#1692) 2021-09-17 21:06:36 +02:00
Santos Gallegos
c11800dec1 Query: highlight numbers 2021-09-17 21:06:36 +02:00
Connor Lay (Clay)
6d1a06fd9c Fix: Improve Elixir highlighting performance (#1682) 2021-09-17 21:06:36 +02:00
maxxnino
aa5ee99cf1 highlights(zig): label, switch item, operator, punctuation, field property (#1685)
Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
2021-09-17 21:06:36 +02:00