Commit graph

1171 commits

Author SHA1 Message Date
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
Xi Xiao
9a0db40403
feat(sflog): add sflog (Salesforce debug log) parser and highlights
Co-authored-by: xi xiao <tdxiaoxi2@gmail.com>
2024-08-10 10:05:48 +02:00
Steve Vermeulen
176e446473
fix(install): vim.uv compatibility shim for 0.9 2024-08-09 13:06:51 +00:00
Kyle Minshall
a8535b2329
fix(install): correct arguments for string.format 2024-08-08 15:35:07 +00:00
belltoy
9f8c99e980 feat(vrl): Add vrl parser and queries 2024-07-30 22:08:38 +02:00
Richard Macklin
ed871c970a
docs(install): fix typo 2024-07-28 11:15:13 +02:00
Riley Bruins
f97e0de005
feat: add rescript parser and queries (#6671) 2024-07-27 17:34:30 +02:00
Christian Clason
5f5077f8f7 fix(parsers): powershell maintainer 2024-07-22 23:16:28 +02:00
Andrey Chalkin
c5b3560306
feat: add powershell language 2024-07-22 23:14:45 +02:00
Jean-Sebastien Trottier
debf5816ee fix(install): abort installation using git in active git session
Problem: Installing a parser using git in an active git session (e.g.,
when editing a commit message) can corrupt the corresponding repository.

Solution: Check for typical environment variables first and abort
installation if found.
2024-07-22 13:11:11 +02:00
hrzlgnm
de8d91d0ef
docs(utils): fix deprecation notice
Co-authored-by: Valentin Batz <vbatz@linetco.com>
2024-07-18 18:54:05 +02:00
John-Philip Taylor
355af0c8ce
feat: add vhdl parser and queries 2024-07-18 08:46:12 +02:00
Riley Bruins
c80d0d9ca9
fix(filetype): add missing shorthands for Perl, Uxn Tal 2024-07-18 08:44:56 +02:00
wzy
0758155d4d
feat(parsers): register python for gyp files 2024-07-17 16:59:58 +00:00
Christian Clason
804a6473df fix(install): pass --show-error to curl 2024-07-17 16:42:26 +02:00
Vladimir Levin
067415e971
feat: add nginx 2024-07-17 09:47:59 +02:00
Dennis van den Berg
03883041b2 feat: change angular filetype to vim's htmlangular 2024-07-17 09:52:47 +09:00
Christian Clason
4068e1c096 fix(scfg): switch to github mirror 2024-07-10 23:05:24 +02:00
Christian Clason
a64ce9f989 feat(parser): register common short-hand as filetypes
Problem: Cannot use short-hands for @injection.language (e.g., `py` for
Python).

Solution: Register common short-hand as filetypes for some languages.

List taken from https://github.com/helix-editor/helix/blob/master/languages.toml

Also remove deprecation custom filetype->parser mapping.
2024-07-10 09:30:41 +02:00
Christian Clason
b149008257 fix(parsers): keep .git suffix for gitlab urls 2024-07-08 10:37:00 +02:00
Christian Clason
b32fb41284 fix(parsers): drop .git suffix from URLs 2024-07-07 17:29:49 +02:00
zhaown
f9aa4f060e
feat: add goctl parser and queries 2024-07-07 17:27:21 +02:00
Abhinav Natarajan
2d917106d1 fix(indent): indent empty lines correctly
fix(indent):
2024-07-05 22:35:19 +09:00
Omar Valdez
5d1646893a
feat: editorconfig parser and queries 2024-07-04 20:23:44 +03:00
Christian Clason
caf275382f fix(prolog): switch to github mirror 2024-07-03 13:31:26 +02:00
Christian Clason
7adae51ff3 fix(turtle): update parser and queries
also update changed user names
2024-07-03 10:20:49 +02:00
Stefano Volpe
6cd4ce6cab
feat: add prolog and problog parser and queries (#6810) 2024-07-02 16:57:30 +02:00