Commit graph

1197 commits

Author SHA1 Message Date
Garrett Hopper
453d94ea3b Add indent.propagate metadata
This allows multiple nodes which share the same line to contribute to
indentation. (Primarily for lisp like languages)
2025-05-07 12:08:41 -05:00
Garrett Hopper
6ba63e4844 Merge metadata from multiple capture nodes 2025-05-07 12:07:48 -05:00
AJ Delcimmuto
7bbed4b548
feat(brightscript): brightscript parser and queries (#7780) 2025-04-13 13:20:09 -07:00
Vladimir Levin
9399bfd816
feat(caddy): add parser and queries (#7588)
---------

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2025-03-23 16:04:41 +00:00
Robert Muir
652da0b40f
feat(javadoc): add parser and queries (#7749)
Previously java was configured to use doxygen parser for documentation
comments, but javadocs are not doxygen. Inline tags have a different
syntax, block tags are not recognized, and doxygen creates a lot of
errors during highlighting.

Add parser for javadoc comments, with queries for highlights and
injections.
2025-03-23 16:44:12 +01:00
Caleb White
548ed98f8a
feat(blade): add laravel blade parser and queries (#7693) 2025-03-12 18:47:19 +01:00
uncenter
f840ab9f72
feat(tera): add parser and queries 2025-03-09 18:44:59 +01:00
Bert Baron
376a46ccec
feat(kdl): parser and queries (#7657) 2025-02-27 09:54:26 +01:00
Christian Clason
b9a3588ee8 fix(earthfile): adapt to new default branch (with external scanner) 2025-02-19 15:02:54 +01:00
Christian Clason
b08ae25c47 feat(parsers)!: drop org
The parser has neither queries nor a listed maintainer here and hasn't
seen updates in two years.
2025-02-16 13:53:28 +01:00
Amaan Qureshi
3973f53d7a fix(razor): mark npm as required for generating from source 2025-02-08 19:40:12 +01:00
loongtao.zhang
cbd48fac13
feat(jinja): add parser and queries (#7573)
Signed-off-by: loongtao.zhang <loongtao.zhang@outlook.com>
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
2025-02-08 10:38:50 +01:00
simonvic
e8ccc339a3
feat(enforce): add parser and queries (#7626) 2025-02-08 10:38:13 +01:00
Tristan Knight
39bf51ff68
feat(razor): add parser and queries (#7545) 2025-02-01 20:06:26 +01:00
Théo Reichel
1c67567464
feat(slim): add parser and queries (#7425) 2025-01-21 09:25:08 +01:00
Gabriel Holodak
0fb02ac5c3 fix(install): use std=c11 2025-01-20 08:50:52 +01:00
Gabriel Holodak
82939d5941 fix(install): preserve command return code on Windows
`:TSInstallSync` relies on the `:system()` command to set
`v:shell_error` when an error code is returned during installation. On
Windows, the error code was always overwritten by `popd`'s return code.
2025-01-20 08:50:52 +01:00
Jaehwang Jung
8acafab2bc fix: node selection at line start that ends injected region 2025-01-20 08:49:31 +01:00
Jaehwang Jung
e8c5242f53 fix(inc-selection): handle injections
* Parse injections before starting selection.
* Make node_incremental climb up the LanaguageTree step by step.
  Previously it only considered the root parser and the bottommost
  parser. Now it works well with document with deeper injections, e.g.,
  ```lua
  vim.cmd[=[
  echo 'hello' 'world!'
  lua << EOF
  vim.cmd[[echo 'hello' 'world!']]
  EOF
  ]=]
  ```
2025-01-20 08:49:31 +01:00
Serhii Khoma
8758abeb4d
feat(idris): add parser and queries (#7274) 2025-01-16 17:34:37 +01:00
Serhii Khoma
f87c8956ae
feat(ipkg): add parser and queries (#7277)
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-12-30 08:48:20 -08:00
Alexandr Martirosyan
be17791f86
feat(circom): add parser and queries 2024-12-06 18:41:37 +01:00
Christian Clason
efb2e9c607 docs(parser): add maintainer for julia 2024-11-23 11:24:39 +01:00
nvim-treesitter-bot[bot]
305c265bdb bot(lockfile): update fortran, nu, r 2024-11-23 09:41:10 +00:00
Christian Clason
98b3825999 docs(parser): mark julia as unmaintained 2024-11-06 23:05:20 +01:00
David Lysenko
7c5a4632c4
feat(runescript): add parser and queries (#7305) 2024-11-06 17:09:38 +00:00
Abhishek Singh
604aa5a7c8
feat(nu): add parser and queries (#7267) 2024-11-05 15:25:42 +01:00
Riley Bruins
8fadb18430 feat: sway programming language 2024-11-04 08:36:41 +01:00
Riley Bruins
d3d4c1411c fix(cooklang): apply correct filetype
`Cooklang` files are recognized as `cook` in vim. This prevents the parser
from attaching since it is looking for `cooklang` files, so we have to
specify the `filetype` here.
2024-11-04 08:19:28 +01:00
Elliot Fontaine
92d2501d69
feat(cylc): add parser and queries (#7225) 2024-10-31 17:56:58 +01:00
Omar Valdez
0a9108a7e4
feat(desktop): desktop parser and queries (#7282) 2024-10-26 10:06:22 +02:00
Christian Clason
d740b0ad92 docs(readme): mark Nvim 0.10 as required 2024-10-25 08:48:16 +02:00
Christian Clason
9210b9a4fa fix(predicates): remove upstreamed predicates and directives
Problem: Overriding upstreamed predicates replaces optimized versions on
Nvim 0.11.

Solution: Now that nvim-treesitter requires Nvim 0.10, simply remove the
upstreamed predicates and directives.
2024-10-23 09:38:19 +02:00
Omar Valdez
3ba21f96a4
feat(xresources): add parser and queries (#7260) 2024-10-20 10:10:30 +02:00
henrykvdb
b139d21726
feat(verilog)!: use systemverilog parser and queries (#7170) 2024-10-16 08:35:35 +02:00
Mae Brooks
d0f567251b
feat(gren): gren parser and queries (#7237) 2024-10-15 18:14:39 -07:00
Nikolai Devolder
8672843527 Fix(auto_install): Install parser if Filetype already known
If setup function was called after `FileType` autocommand triggers
the installation of parser was not done.

This commit checks if filetype is already know before adding the autocommand.
2024-10-14 16:45:21 +02:00
Tim Culverhouse
1bcdd79088 feat(superhtml): add superhtml parser and queries
SuperHTML is a templating language used by the zine static site
generator.
2024-10-06 11:47:42 +02:00
Christian Clason
da61d31a3d fix(parsers): don't register rmd and quarto for markdown 2024-10-01 21:03:52 +02:00
Christian Clason
707e352df6
fix(parsers): register explicit filetypes unconditionally (#7202)
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
2024-09-30 17:06:47 -07:00
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
Christian Clason
140f534ce9 fix(parsers): adapt to upstream change in Nvim 0.11
In Nvim 0.11, `vim.treesitter.lang.get_lang(filetype)` falls back
to `filetype` by default, so filetypes no longer have to be registered
for languages with the same name.
2024-09-29 18:26:14 +02:00
Nikolaj Sidorenco
707313b80a
feat(fsharp): add parser and queries (#7166) 2024-09-29 11:08:21 +02:00
Christian Clason
3826d0c42a fix(query): explicitly opt-in to legacy behavior 2024-09-04 15:13:41 +02:00
Reinis Cirpons
2d8f0f37c4
feat(gap): add gap and gaptst parser and queries (#7110) 2024-09-01 22:13:10 +02:00
NullVoxPopuli
628f53e4cb
feat(glimmer): add glimmer-javascript and glimmer-typescript (#7064) 2024-08-31 19:15:40 +02:00
Christian Clason
fd9663acca
fix(query): explicitly opt-in to legacy behavior (#7101) 2024-08-30 06:57:07 -07: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
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