Commit graph

1673 commits

Author SHA1 Message Date
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
GitHub
293e2d8bf4 Update lockfile.json 2021-08-18 21:56:53 +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
GitHub
b8a6928b52 Update lockfile.json 2021-08-17 13:37:13 +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
github-actions[bot]
efdd6fccb2
Update lockfile.json (#1689)
Co-authored-by: GitHub <noreply@github.com>
2021-08-14 01:15:45 -05: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
GitHub
2ac7858bd4 Update lockfile.json 2021-08-13 08:13:32 +02: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
Github Actions
03943f9a7c [docgen] Update README.md
skip-checks: true
2021-08-12 08:47:22 +02:00
delphinus
2156a55efa Enable to highlight shebang on JS/TS 2021-08-12 08:47:22 +02:00
GitHub
a3d128a596 Update lockfile.json 2021-08-11 08:34:54 +02:00
maxxnino
6b40cd1c6e Update locklife.json 2021-08-11 08:16:16 +02:00
maxxnino
53160520e2 Update new query and parser for zig 2021-08-11 08:16:16 +02:00
GitHub
2b51d9b766 Update lockfile.json 2021-08-09 09:20:31 +02:00
Yorick Peterse
3fd4d9fb3f Fix instance and singleton method locals for Ruby
Ruby singleton methods (`def x.y ... end`) weren't covered in the list
of locals. In addition, instance methods didn't support names that are
capitalised (`def Integer ... end`).

This commit ensures that both instance and singleton methods are
supported, and that both support identifiers and constants as their
names. This ensures that all following examples are covered:

    def foo; end
    def FOO; end
    def self.bar; end
    def self.BAR; end
2021-08-09 08:38:02 +02:00
github-actions[bot]
f106baa522
Update lockfile.json (#1679)
Co-authored-by: GitHub <noreply@github.com>
2021-08-08 17:54:14 +00:00
Santos Gallegos
9a98ed1f96
RST: use any-of? instead of match? (#1678) 2021-08-08 12:37:08 -05:00
Santos Gallegos
1e8016d92d
RST: add code-block to injections (#1677)
This isn't part of the rst spec,
but it's common enough on third party libs (sphinx specially).
2021-08-08 11:16:11 -05:00
github-actions[bot]
b2668a9431
Update lockfile.json (#1676)
Co-authored-by: GitHub <noreply@github.com>
2021-08-08 15:06:18 +00:00