Commit graph

5909 commits

Author SHA1 Message Date
Christian Clason
397a841885 docs: update CONTRIBUTING.md 2025-03-05 10:00:39 +01:00
Lewis Russell
0e89ca6393 refactor: pull out predicate function 2025-03-05 10:00:39 +01:00
Lewis Russell
0607e90079 fix: update vim.system types 2025-03-05 10:00:39 +01:00
Lewis Russell
7af06a6690 fix: remove downcase! directive use 2025-03-05 10:00:39 +01:00
Lewis Russell
5977fa4a7e feat: allow a custom revision in install_info 2025-03-05 10:00:39 +01:00
Pham Huy Hoang
30d171ca36 fix!: indents now rely on treesitter highlight
- Apply suggestions from Lewis to only parse visible lines
- Fix failed tests
2025-03-05 10:00:39 +01:00
Christian Clason
b3234a693f docs(readme): document 'location' key 2025-03-05 10:00:39 +01:00
Pham Huy Hoang
a044640716 tests: remove set ft 2025-03-05 10:00:39 +01:00
Lewis Russell
083ff09ce5 fix: cleanup diagnostics 2025-03-05 10:00:39 +01:00
Lewis Russell
61105e3d13 fix: add stricter cc options (#5063) 2025-03-05 10:00:39 +01:00
Christian Clason
2db0d347fb fix: remove upstreamed directives
`#inject-lang!` and `#trim!`; fix `set-lang-from-mimetype`
2025-03-05 10:00:39 +01:00
TheLeoP
cc19eceb1b fix: always normalize paths
Not doing this results in paths with a mix of '\\' and '/' for Windows.
This isn't a problem when dealing with Neovim/luv APIs, but it is a
problem when comparing strings.
2025-03-05 10:00:39 +01:00
TheLeoP
6c039b8ae2 fix: check if config has install_info in filter 2025-03-05 10:00:39 +01:00
Lewis Russell
18c1e34aeb fix: check queries in needs_update() 2025-03-05 10:00:39 +01:00
Lewis Russell
2235af37c8 fix: filter languages through parser.configs 2025-03-05 10:00:39 +01:00
Christian Clason
335b62e540 feat: add parser tiers
Tier 1: Stable
Tier 2: Core (maintained by org members)
Tier 3: Community (maintained by external contributors, to varying
degree)
Tier 4: Unsupported (lacking active maintainer or declared
experimental); skipped in lockfile update and ignored for automatic
install by default
2025-03-05 10:00:39 +01:00
Christian Clason
fe66ace996 feat!: drop makefile support, norg parser
Norg install_info and queries are maintained by neorg.

All other parsers are compatible with C++11, so fix that as standard.
(Can be bumped if all supported platforms support C++14.)

Remove Makefile support, as it's no longer needed.
2025-03-05 10:00:39 +01:00
Lewis Russell
fcc9a8d110 refactor: use vim.system (#4923) 2025-03-05 10:00:39 +01:00
Christian Clason
b912c0d051 fix: expand tiers in ignore_install 2025-03-05 10:00:39 +01:00
Christian Clason
37ae595d20 feat: drop TSInstallInfo in favor of better checkhealth
also fixes the hole in install.compilers
2025-03-05 10:00:39 +01:00
Christian Clason
ee1e991ae2 refactor: use vim.uv 2025-03-05 10:00:39 +01:00
Christian Clason
70910f335f fix: install dependencies 2025-03-05 10:00:38 +01:00
Christian Clason
6bd77a0870 ci: remove update-lockfile shell script 2025-03-05 10:00:38 +01:00
Lewis Russell
c9074b7e5f refactor: rewrite installation using jobs and async
Replace sync variants with callback support
2025-03-05 10:00:38 +01:00
Christian Clason
b4df3c3246 refactor: use vim.fs.joinpath 2025-03-05 10:00:38 +01:00
Christian Clason
ddee5b6771 feat!: drop luarocks release 2025-03-05 10:00:38 +01:00
Christian Clason
e97cf1c5e6 feat(locals)!: refactor locals.lua into standalone
Co-authored-by: TheLeoP <eugenio2305@hotmail.com>
2025-03-05 10:00:38 +01:00
Christian Clason
20c077f374 feat!: drop modules, general refactor and cleanup 2025-03-05 10:00:38 +01:00
ObserverOfTime
7508765d7a feat(c-family): inherit injections 2025-03-05 10:00:38 +01:00
Marc Jakobi
06cb88ab31 injections(nix): add nixosTest.testScript + home-manager nvim config
(+ add Check to mkDerivation bash matches)

(+ add Check to mkDerivation bash matches)
2025-03-05 10:00:38 +01:00
ObserverOfTime
3faf6f0842 feat(yuck): add missing injections
And builtin variable highlights
2025-03-05 10:00:38 +01:00
nvim-treesitter-bot[bot]
55c5c762fe bot(lockfile): update dtd, mlir, slim, xml 2025-03-05 06:53:31 +00:00
Riley Bruins
2b0760dca2 feat(jsx): commentstring query 2025-03-04 09:49:57 +01:00
nvim-treesitter-bot[bot]
a5a2845a86 bot(lockfile): update cmake, elixir, ocaml, ocaml_interface, powershell, requirements, superhtml, ziggy, ziggy_schema 2025-03-04 08:36:41 +00:00
Christian Clason
c641ca8e05 ci(update): block rescript (ABI 15) 2025-03-04 09:25:23 +01:00
Riley Bruins
1adcd57119 feat(markdown): fold sublists 2025-03-03 09:44:46 +01:00
nvim-treesitter-bot[bot]
bf6028e00c bot(lockfile): update cmake, elixir, fortran, fsharp, rust, vhdl 2025-03-03 06:58:07 +00:00
nvim-treesitter-bot[bot]
186f35e168 bot(lockfile): update cmake, jinja, jinja_inline, nu 2025-03-02 10:30:19 +00:00
Christian Clason
8bf733ccce ci(update): block templ (ABI 15) 2025-03-02 11:16:59 +01:00
nvim-treesitter-bot[bot]
c1efc9a905 bot(lockfile): update dart, djot, meson, mlir 2025-03-01 11:05:56 +00:00
Christian Clason
f56d2f6765 ci(update): block typespec (ABI 15) 2025-03-01 11:55:29 +01:00
Christian Clason
f37b1668a6 ci(update): block verilog (ABI 15) 2025-03-01 11:15:34 +01:00
nvim-treesitter-bot[bot]
99487eb34a bot(lockfile): update php, php_only, rust, v 2025-02-28 08:37:39 +00:00
nvim-treesitter-bot[bot]
8bc635a25f bot(readme): update 2025-02-27 09:16:43 +00:00
Bert Baron
376a46ccec
feat(kdl): parser and queries (#7657) 2025-02-27 09:54:26 +01:00
Paul Hansen
28f76678ca
fix(kdl): highlight query order (#7688)
This just fixes the highlighting queries so everything
isn't highlighted as a variable due to the order of the queries
meaning several queries were ignored.

I also changed the node names to be highlighted as `@tag` since KDL is an
xml-like format so `@tag` seemed more appropriate than type and it differentiates it
from the type annotations.

This does NOT update to the latest KDL version 2, that would need
grammar changes. It does "mostly" work with
KDL 2 though (notably unquoted strings seem to throw the grammar off.).
2025-02-27 09:53:58 +01:00
Omar Valdez
00e797ea25 feat(typescript): highlight abstract methods 2025-02-27 09:53:22 +01:00
Andreas Hartmann
a83032cee1 feat(make): fold define statements. 2025-02-27 09:53:09 +01:00
nvim-treesitter-bot[bot]
89eed3572d bot(lockfile): update fortran, nix, tlaplus 2025-02-27 06:54:26 +00:00
Raafat Turki
8f87d28442
feat(sql): add folds (#7686) 2025-02-26 17:36:48 +01:00