Commit graph

2026 commits

Author SHA1 Message Date
TheLeoP
bbb92b2b8e
fix(lua): luap injection (#5275)
* fix(lua): luap injection

* test(lua): check for incorrect hlgroup of injected luap

* chore(lua): injections styling

* chore(lua): ignore luacheck for test.lua
2023-08-18 02:17:04 +00:00
Cezary Drożak
4ffdc4c985 feat: update jsonnet queries 2023-08-17 21:46:33 -04:00
Amaan Qureshi
17d3398b5b feat: add CSV, PSV, & TSV 2023-08-17 11:15:54 -04:00
Amaan Qureshi
977e932726 feat: add BitBake 2023-08-17 11:14:32 -04:00
ObserverOfTime
f7bb866405 feat: add gpg config parser 2023-08-17 11:24:41 +03:00
Tomas Sandven
087166aae1
feat(robot): update parser, queries and maintainer
* Update tree-sitter-robot version and maintainer

* Improve query code style

* Update tree-sitter-robot revision
2023-08-17 00:27:51 -04:00
Amaan Qureshi
0e27391e90 feat(python): update parser & highlights 2023-08-16 20:28:11 -04:00
Guilherme Soares
a3b2e0dcdb
feat(c_sharp): add missing highlights
Added:
 * `??` and `??=` as operators
 * `alias` as keyword
 * `when` as conditional
2023-08-16 17:44:47 -04:00
Sergio A. Vargas
3fbf513829
feat(julia): spell-check docstrings
Enable spell checking of docstrings without markdown injections.
2023-08-16 16:30:59 -04:00
TheLeoP
922c396b26 fix(python): right content for regex injection 2023-08-16 12:25:51 -04:00
sogaiu
59f06b3b33 feat(janet): update highlights 2023-08-16 12:23:18 -04:00
Munif Tanjim
5f01ffd478 fix(lua): injections for comment and luadoc 2023-08-16 16:17:13 +02:00
Pham Huy Hoang
294f753ed3
fix(ecma): fix no injections for innerHTML (#5258) 2023-08-16 16:58:25 +09:00
Amaan Qureshi
64d1696d6d fix(python,starlark): update parsers & add escape_interpolation 2023-08-16 03:23:24 -04:00
dvic
11d79aa0f7 Fix HEEx directive injections 2023-08-15 11:13:33 +02:00
Amaan Qureshi
b5f2030312 chore(c-family): inject all preproc args again 2023-08-13 18:57:23 -04:00
Amaan Qureshi
e0f4782978 feat(c): mention how to highlight K&R functions 2023-08-13 18:57:23 -04:00
ObserverOfTime
4e35ae6f71 feat: add pymanifest parser 2023-08-13 10:42:09 +03:00
ObserverOfTime
5b3dd8cff1 feat: add xml & dtd parsers 2023-08-13 10:34:57 +03:00
Christian Clason
800b2f388b fixup: php injections 2023-08-12 17:45:44 +02:00
Christian Clason
b223402ba9 fix(directive): make downcase work on captures 2023-08-12 17:34:15 +02:00
ObserverOfTime
71532e7776 feat(bash): add heredoc injection 2023-08-12 17:34:15 +02:00
ObserverOfTime
d8e625df2d fix(php): heredocs injections & highlights 2023-08-12 17:34:15 +02:00
Pham Huy Hoang
39f07cd375 injections(query): add gsub pattern (#4897) 2023-08-12 17:34:15 +02:00
lnay
efe06e3057 Add extra language injections for latex (#4896)
Add python injections to contents of `sagetex` defined environments, similarly to how `pycode` currently treated.
2023-08-12 17:34:15 +02:00
CalebW
246f4cc20c Add PHP heredoc and nowdoc injections (#4866) 2023-08-12 17:34:15 +02:00
Pham Huy Hoang
78b54eb7f6 chore(injections)!: update injection syntax to 0.9
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter

- update health check
- update doc
2023-08-12 17:34:15 +02:00
Amaan Qureshi
41f35eac4f fix(c-family): inject into preproc args in preproc defs when it spans multiple lines only 2023-08-11 14:38:50 -04:00
Amaan Qureshi
acd9d2115d feat(c): update highlights 2023-08-11 14:38:50 -04:00
ObserverOfTime
898f9c13d6 feat: add requirements parser 2023-08-10 23:17:56 +03:00
Yuki Ito
d92bfe2cbd feat(go): add max and min to @function.builtin 2023-08-10 11:18:57 -04:00
Amaan Qureshi
251fe95efd
fix: update preproc injections for arduino, cuda, glsl, hlsl 2023-08-10 16:43:45 +02:00
Amaan Qureshi
3d3b335ace fix(cpp): update injections from C 2023-08-10 16:09:50 +02:00
Matthias Queitsch
2f5b4a65dc feat(sql): add missing keywords 2023-08-07 22:19:57 +01:00
ShellCode33
d9e75a1736 queries/*/highlights.scm : remove @spell for strings 2023-08-07 16:39:40 +01:00
Lewis Russell
d9be302f74
fix(spell): do not spell check certain types of strings (#5203)
- Document that only certain kinds of strings are spell checked, and
  reasons why they may not.

- Remove spell checking for bash strings.
2023-08-07 13:42:24 +01:00
ObserverOfTime
131f665f90 feat(perl): improve highlights 2023-08-03 15:45:39 +03:00
Amaan Qureshi
80aee02921 fix(gleam): update queries from upstream changes 2023-08-02 23:02:54 +02:00
Trey Wood
8968a3a541
feat!: change upstream proto parser and improve highlights 2023-08-02 13:54:53 -04:00
Amaan Qureshi
8e70f17f71 fix(perl): update highlights from upstream changes 2023-08-01 09:13:09 +02:00
Chinmay Dalal
82c9486539 fix(fennel): capture method calls as @method.call 2023-07-31 06:47:45 -04:00
Christoph Sax
2fb7359828 feat(t32)!: update queries for new HLL node types
- Lock grammar to version 2.1.1
- Update query for syntax hightlighting
- fix missing locals query
- reduce number of "(identifier) @variable" highlight queries
- revert to capture @function.builtin for PRACTICE call expressions
2023-07-30 19:29:33 +02:00
Matthias Queitsch
e8648569d8 feat(sql): add new keywords 2023-07-30 10:45:04 +02:00
Matthias Queitsch
db0ccd920b feat(prql): change func to let for prql 0.9.x 2023-07-28 18:41:16 +02:00
Matthias Q
205b9e9bb8
feat(sql, prql): update sql highlights, update prql to v0.9.x compatiblity 2023-07-28 02:58:19 -04:00
Amaan Qureshi
6aababfca4 chore: update C, improve preproc_arg highlights 2023-07-27 07:29:33 -04:00
Amaan Qureshi
f590e13d6d fix(c): only inject in preproc function calls/definitions 2023-07-27 05:40:44 -04:00
Michael Hoffmann
0b0e460180 fix(promql): bump parser, fix queries
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-07-27 10:22:14 +02:00
Amaan Qureshi
ad3805f5c3
fix(c)!: update C, CPP parsers and queries
also update derived parsers (arduino, cuda, glsl, hlsl, ispc, objc)
2023-07-27 09:51:13 +02:00
Hugo
736a672afe
feat: add scfg 2023-07-25 16:49:09 -04:00