Commit graph

2485 commits

Author SHA1 Message Date
Christian Clason
c4f65272a9 fix(solidity): disable broken operators 2024-05-12 08:10:03 +00:00
Amaan Qureshi
6587d8e694 feat(c_sharp): update parser & queries 2024-05-11 15:26:30 -04:00
Riley Bruins
707b0dcf76 feat(query): pattern injections for new predicates 2024-05-09 11:11:40 +02:00
Yorick Peterse
9e1cda4e71 fix(inko): indent call nodes
This ensures that when you add a new call line in the middle of a call
chain, the line is indented like so:

    foo
      .bar
      .new_line_here
      .baz

Instead of it being indented like so:

    foo
      .bar
    .new_line_here
      .baz
2024-05-09 00:33:22 -04:00
Riley Bruins
1be5aa99e3 feat(rust): underscore match arms, parameters 2024-05-08 08:34:42 -04:00
Laytan Laats
acefffae27 feat(odin): more lenient towards different function naming convention
PR originally made and merged upstream here: https://github.com/tree-sitter-grammars/tree-sitter-odin/pull/15
2024-05-07 15:11:49 -04:00
Ananda Umamil
db03443582
fix(ecma): template string injections (#6590) 2024-05-07 10:14:15 -07:00
Marc Jakobi
da0efd7398
fix(haskell): update queries and tests for rewritten parser (#6580) 2024-05-07 07:27:44 +00:00
Omar Valdez
fc7657a071
feat(c): inject printf in concatenated strings 2024-05-05 23:16:26 -04:00
Riley Bruins
4b70dde727 feat(lalrpop): highlight touchups, folds 2024-05-06 00:34:10 +02:00
Christian Clason
4e21361e15 fix(php): update parser and queries 2024-05-04 10:33:10 +02:00
Riley Bruins
c579d186be fix(markdown): align link with image highlights 2024-05-04 10:19:41 +02:00
Yorick Peterse
4ae2b452e9
fix(inko): highlighting of numeric call names (#6566)
Inko allows for syntax such as `some_value.42.to_string`, where `42` is
a method name. Similar to other languages that allow this (e.g. Rust),
these numeric names should be highlighted as numbers instead of
identifiers.

To fix this, the query to highlight call names is adjusted to only
highlight "name" and "constant" nodes as the function group, ensuring
the remaining possible node ("integer") continues to use the same group
as regular numbers.
2024-05-03 13:06:54 -07:00
Novus Nota
440f177277
feat: add support for Tact (#6554) 2024-05-03 18:42:51 +02:00
Jakub Donovan
cbf9090a4c
feat(ecma) fold array (#6564) 2024-05-03 15:01:37 +02:00
Yorick Peterse
7441b82fe5 feat(inko): add support for Inko 2024-05-03 11:32:15 +02:00
Brayden Zee
b1f3f02027
fix(java): compact constructor highlights (#6531) 2024-05-02 14:27:26 -07:00
DimensionalDot
9d5cee38b3
feat(ecma): inject async template functions 2024-05-02 01:10:43 -04:00
Levi Frandsen
bbc67f736e fix(html_tags): stop indenting void elements 2024-05-01 17:15:55 +02:00
Kai Moschcau
ead283734b feat(latex, query, tablegen, thrift): disable spelling in shebangs 2024-05-01 15:01:48 +02:00
Kai Moschcau
57476501e2 feat(perl): deactivate spelling in shebangs 2024-05-01 15:01:48 +02:00
Kai Moschcau
e99b79c9c1 feat(perl): activate spelling in comments 2024-05-01 15:01:48 +02:00
Kai Moschcau
60c2b084c2 feat(awk,cmake,python,r,starlark): deactivate spelling in shebangs 2024-05-01 15:01:48 +02:00
Kai Moschcau
46cac01880 feat(bash,fish): deactivate spelling in shebangs 2024-05-01 15:01:48 +02:00
Omar Valdez
c371992bcd feat(git_config): Highlight escape sequences 2024-05-01 08:35:40 -04:00
Riley Bruins
9a47a523e3 feat: import statement folds for common languages 2024-05-01 10:00:01 +02:00
Riley Bruins
f58cae6c22 feat: more @keyword.type captures 2024-05-01 09:59:50 +02:00
Lucas Lopes
1a4274c9e1
feat(svelte): add javascript injection (#6540) 2024-05-01 00:10:19 +09:00
Dennis van den Berg
121d0c4c67
feat(angular): Add support for ICU expressions. (#6288) 2024-04-30 19:14:54 +09:00
Andrey Sidorov
c3ab6a5903
make sass to be highlighted in vue files (#6526) 2024-04-29 13:39:02 +09:00
Liam Woodleigh-Hardinge
223f8dd2e4
fix(wit): update parser and queries (#6528) 2024-04-28 16:13:51 +00:00
Christian Clason
dbbaa3f66e fix(latex): update parser and queries 2024-04-28 11:58:06 +02:00
DragonBillow
37ac5f1f9f
feat: add idl 2024-04-28 04:26:39 -04:00
wzy
ab3b3ff010
feat(gitconfig): add more injections 2024-04-26 21:42:35 -04:00
NullVoxPopuli
01963961b5
feat(glimmer): highlight builtin tags 2024-04-26 21:42:06 -04:00
Omar Valdez
75beaf3632
feat(toml): highlight escape sequences 2024-04-26 21:40:35 -04:00
Omar Valdez
466da58e5b
feat(css): highlight square brackets 2024-04-26 21:40:20 -04:00
Ian Hobson
19c6b0c4c9
feat: add koto
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-04-25 09:43:41 -04:00
Omar Valdez
df111f886c
feat(rasi): Highlight captures similar to CSS (#6507) 2024-04-25 12:05:06 +02:00
Riley Bruins
28a914eb57 fix(php): parameter and operator touch-ups 2024-04-25 12:04:50 +02:00
Silas Groh
876111c8df
feat(asm): update queries from upstream (#6505)
adds support for TC assembly
2024-04-25 08:49:58 +02:00
Riley Bruins
f0e91fd9b9 feat(qml): add back ecma inheritance
Fixed after the grammar dependencies were updated. This time inheritance
is given to the injections queries also.
2024-04-25 08:23:59 +02:00
Alexei Mozaidze
46f8778fbf
feat(fennel)!: update parser and queries (#6460) 2024-04-22 11:57:55 +02:00
Tomasz N
1e20226231
feat(php): fold consecutive imports (#6482)
* feat(php): fold consecutive imports

* Inslude possible comment too

* Format query

* Revert respecting comments
2024-04-21 12:09:52 -07:00
Vir Chaudhury
28aebb7308 feat(astro): add backtick string injections
This also updates a highlight to be more accurate
and bumps the lockfile to fix a few bugs.
2024-04-21 19:03:43 +02:00
virchau13
ea4f6d5175
feat(astro): update injections to match parser rewrite (#6478) 2024-04-20 15:31:54 +02:00
ObserverOfTime
d8bf42b262 feat(dockerfile): adapt for parser update 2024-04-20 09:31:58 +03:00
Riley Bruins
bc80862298 fix(vimscript): miscellaneous fixups
- Highlights the `abort` keyword
- Moves `is(not)?` from `@operator` to `@keyword.operator`
- Highlights the `->` operator
2024-04-19 19:12:26 +02:00
Alejandro
dd0c118596
feat(http): update queries to parser changes (#6467) 2024-04-19 09:24:29 +02:00
Guilherme Soares
baaae36ac7
feat(templ): add highlights (#6464) 2024-04-19 15:00:32 +09:00