Commit graph

2674 commits

Author SHA1 Message Date
Tim Culverhouse
58c702c4d5 feat(ziggy-schema): Add ziggy-schema parser and queries
Ziggy-schema is the schema definition file format for a ziggy file.
2024-09-30 23:33:44 +02:00
Tim Culverhouse
1a6fa428b8 feat(ziggy): add ziggy parser and queries
[Ziggy](https://github.com/kristoff-it/ziggy) is a data serialization
format used in the zine static site generator.
2024-09-30 23:33:44 +02:00
Nikolaj Sidorenco
707313b80a
feat(fsharp): add parser and queries (#7166) 2024-09-29 11:08:21 +02:00
Riley Bruins
36b78d112b fix(markdown): don't set link metadata twice
Otherwise the same link will be opened twice when the cursor is on the
link text itself.
2024-09-28 19:02:26 +02:00
Riley Bruins
679883ad31
feat(gleam,luau): use @keyword.type captures (#7181) 2024-09-26 09:09:41 +02:00
Kai Moschcau
6511cd984a
fix(jsdoc): disable spelling for identifiers (#7172) 2024-09-24 09:26:55 +02:00
Veesh Goldman
20b5cbfa92
feat(perl): support more modern syntax 2024-09-22 14:15:38 -04:00
Riley Bruins
b8ad0473f4 fix(markdown): broader link recognition
**Problem:** Neovim's `gx` will not work when the cursor is on the first
`[` of an inline Markdown link.

**Solution:** Set the `url` metadata property on the link parent node,
rather than just the link label node
2024-09-20 21:35:08 +02:00
Omar Valdez
188b1a6d01
feat(highlights): capture wildcard patterns as @character.special (#7153) 2024-09-20 08:15:01 +02:00
Riley Bruins
63c532fde5 feat(swift): fold queries 2024-09-19 08:43:58 +02:00
Riley Bruins
12e339e370 feat(swift): add many missing highlights 2024-09-19 08:43:44 +02:00
Omar Valdez
45ee50d02b feat(htmldjango): improve punctuation highlighting
In Django templates `{{` and `{%` are interpolations, so they should be
highlighted as @punctuation.special.

Don't highlight quotes as delimiters (consistency) and add missing comma
delimiter.
2024-09-19 08:42:52 +02:00
nvim-treesitter-bot[bot]
3c6af36794 bot(lockfile): update d, fortran, go, inko, nix, r, tlaplus 2024-09-18 07:41:18 +00:00
Jerome Dalbert
cad9ff2fbc feat(ruby): detect shebang directive 2024-09-17 04:13:38 +02:00
Heber
5c42228e58
feat(apex): update parser and highlights (#7151) 2024-09-16 08:15:57 +02:00
Riley Bruins
399062d072 fix(lua): remove duplicate ellipsis highlight 2024-09-14 23:36:35 +02:00
Jerome Dalbert
66a7655a5e feat(ruby): improve identifiers highlighting 2024-09-12 08:51:30 +02:00
Juhan
b6a6d8997c
feat(gleam): add @local.scope capture for block (#7128) 2024-09-11 14:01:11 +02:00
Amaan Qureshi
6a3c6a42a6
fix(rust): comment marker should not be @operator (#7135) 2024-09-10 17:47:17 +00:00
Jonas Dujava
13ee7f8844 feat(latex): capture conditionals
Generically, macros/commands in LaTeX starting on `if` are either
directly conditionals, or have similar purpose/funcionality.

Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-09-10 08:23:48 +02:00
Avi Areman
ccbaee5954 feat(mermaid): indents and folds 2024-09-07 00:21:07 +09:00
nvim-treesitter-bot[bot]
bfe74a4899 bot(lockfile): update arduino, awk, bash, c, cpp, css, cuda, go, groovy, haskell, hlsl, html, http, javascript, jsdoc, json, julia, liquid, norg, ocaml, ocaml_interface, php, php_only, phpdoc, python, ql, regex, ruby, rust, scala, slang, tcl, templ, tsx, typescript, v, wing 2024-09-05 13:36:22 +00:00
Omar Valdez
5b8b126de0
fix(highlights): section headings in ini, git_config editorconfig (#7108)
Section headers should be `@markup.heading` in ini-like grammars and `@string.special.path` in editorconfig.
2024-09-03 10:24:16 +02:00
Amaan Qureshi
a1573a9135 feat(javascript): update parser and queries 2024-09-02 10:04:37 +02:00
Riley Bruins
e090c5b22d feat(wing): add many missing highlights
...as well as some fold and injection queries.
2024-09-02 09:55:48 +02:00
Reinis Cirpons
2d8f0f37c4
feat(gap): add gap and gaptst parser and queries (#7110) 2024-09-01 22:13:10 +02:00
Jonas Dujava
4e47268c6d feat(latex): set url attribute for hyperlinks
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-09-01 17:26:13 +02:00
Riley Bruins
749df30887 feat(query): highlight supertype "/" delimiters 2024-08-31 18:42:53 -04:00
NullVoxPopuli
628f53e4cb
feat(glimmer): add glimmer-javascript and glimmer-typescript (#7064) 2024-08-31 19:15:40 +02:00
Omar Valdez
0b61eb4923
fix(ini): highlight setting value as @string (#7104)
Values are not typed in INI files and are interpreted as literal strings.
2024-08-31 19:14:13 +02:00
Seongmin Lee
b33a34e883
fix(http): update injections queries (#7078) 2024-08-31 18:52:23 +02:00
Gregory Anders
95933209d4 feat(markdown): set url attribute on image links 2024-08-30 15:07:13 +02:00
nvim-treesitter-bot[bot]
9ac3931bf6 bot(lockfile): update http, ini, leo 2024-08-30 08:35:48 +00:00
Omar Valdez
c15385281c
fix(c_sharp): remove duplicated queries (#7099) 2024-08-30 10:26:22 +02:00
Amaan Qureshi
ba921c9aef feat!: switch upstream Zig parser
The new parser is faster, does not lag while editing, correctly parses
the entire Zig code base, and is much easier to write queries for.
2024-08-30 00:49:33 -04:00
gh-liu
7a64148896 feat(diff): add folds 2024-08-28 10:05:37 +02:00
r001
5071ca777c
fix(leo): update queries (#7086)
* small bugfixes of variables, records, and struct highlighting

* lockfile.json update

* fixed @constant bug, and added self.address, and network.id as builtins to highlight

* fixed associated function calls
2024-08-28 16:51:27 +09:00
Riley Bruins
7499f73794 feat(ruby): string/punctuation highlight improvements 2024-08-26 09:39:01 +02:00
Riley Bruins
54becf661a feat(make): highlight more special characters 2024-08-26 09:38:30 +02:00
r001
d0c5116fa0
feat(leo): add string literals (#7084) 2024-08-26 09:37:52 +02:00
r001
f9b76256c3
feat(leo): async keyword (#7083)
* async keyword added

* lockfile update
2024-08-25 21:24:54 -07:00
Riley Bruins
397982d197 chore: remove r locals executable status 2024-08-25 22:50:39 +02:00
Dimitris Dimitropoulos
39023b61d2 feat(matlab): capture comment sections
Signed-off-by: Dimitris Dimitropoulos <dimitris.dimitropoulos00@gmail.com>
2024-08-25 22:42:41 +02:00
LeviOP
bef7ec6f7a feat(proto): add indents 2024-08-25 10:39:07 +02:00
Novus Nota
e085c614fc feat(tact): update parser and queries 2024-08-24 15:17:09 +02:00
Tobias Schmitz
8724e7d028 feat(rust): add highlight for shorthand_field_identifier 2024-08-22 09:11:55 -04:00
Alejandro
0fd6d32482
feat(http): switch to new parser version (#7063) 2024-08-21 09:08:45 +02:00
nvim-treesitter-bot[bot]
26e7fdb243 bot(lockfile): update c, comment, cpp, embedded_template, kotlin, latex, php, php_only, ruby, scala, templ 2024-08-19 07:13:43 +00:00
Caleb White
ec8776ed9e
feat(php): php 8.4 support (#6741)
* chore(php): update maintainers

* feat(php): update php rules, highlight imported functions/consts

* feat(php): indent inside property hooks

* chore: update php and php_only revision
2024-08-18 12:30:04 +02:00
Yorick Peterse
6d74da7f0a
fix(inko): add highlight for boolean patterns (#7050) 2024-08-17 23:04:32 +02:00