Commit graph

5968 commits

Author SHA1 Message Date
Pham Huy Hoang
478f40063d fix!: indents now rely on treesitter highlight
- Apply suggestions from Lewis to only parse visible lines
- Fix failed tests
2025-04-06 13:16:45 +02:00
Christian Clason
aa3dc33893 docs(readme): document 'location' key 2025-04-06 13:16:45 +02:00
Pham Huy Hoang
a8dd18209a tests: remove set ft 2025-04-06 13:16:45 +02:00
Lewis Russell
f69876bfae fix: cleanup diagnostics 2025-04-06 13:16:45 +02:00
Lewis Russell
e353b43f46 fix: add stricter cc options (#5063) 2025-04-06 13:16:45 +02:00
Christian Clason
bae24a51d7 fix: remove upstreamed directives
`#inject-lang!` and `#trim!`; fix `set-lang-from-mimetype`
2025-04-06 13:16:45 +02:00
TheLeoP
860aa734a3 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-04-06 13:16:45 +02:00
TheLeoP
6963ee8691 fix: check if config has install_info in filter 2025-04-06 13:16:45 +02:00
Lewis Russell
05c9300a57 fix: check queries in needs_update() 2025-04-06 13:16:45 +02:00
Lewis Russell
c9eff8ad7d fix: filter languages through parser.configs 2025-04-06 13:16:45 +02:00
Christian Clason
21239d7db5 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-04-06 13:16:45 +02:00
Christian Clason
654153e043 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-04-06 13:16:45 +02:00
Lewis Russell
80b3bb188d refactor: use vim.system (#4923) 2025-04-06 13:16:45 +02:00
Christian Clason
3677694dbe fix: expand tiers in ignore_install 2025-04-06 13:16:45 +02:00
Christian Clason
5a2fa8b92e feat: drop TSInstallInfo in favor of better checkhealth
also fixes the hole in install.compilers
2025-04-06 13:16:45 +02:00
Christian Clason
18fd625de8 refactor: use vim.uv 2025-04-06 13:16:45 +02:00
Christian Clason
58a6e91e40 fix: install dependencies 2025-04-06 13:16:45 +02:00
Christian Clason
8a122f5a0e ci: remove update-lockfile shell script 2025-04-06 13:16:45 +02:00
Lewis Russell
68aa1ac4f6 refactor: rewrite installation using jobs and async
Replace sync variants with callback support
2025-04-06 13:16:45 +02:00
Christian Clason
422ae43428 refactor: use vim.fs.joinpath 2025-04-06 13:16:45 +02:00
Christian Clason
ca26208f2b feat!: drop luarocks release 2025-04-06 13:16:45 +02:00
Christian Clason
d4246a2eeb feat(locals)!: refactor locals.lua into standalone
Co-authored-by: TheLeoP <eugenio2305@hotmail.com>
2025-04-06 13:16:45 +02:00
Christian Clason
1764f4270f feat!: drop modules, general refactor and cleanup 2025-04-06 13:16:45 +02:00
ObserverOfTime
f0c1e1310f feat(c-family): inherit injections 2025-04-06 13:16:45 +02:00
Marc Jakobi
740a6425a4 injections(nix): add nixosTest.testScript + home-manager nvim config
(+ add Check to mkDerivation bash matches)

(+ add Check to mkDerivation bash matches)
2025-04-06 13:16:45 +02:00
ObserverOfTime
c36a86b1b4 feat(yuck): add missing injections
And builtin variable highlights
2025-04-06 13:16:45 +02:00
Christian Clason
e5c8398e44 ci(bot): bump create-github-app-token to v2 2025-04-06 11:23:58 +02:00
Maksim Terpilovskii
523a9e1489
fix(svelte): else if highlight (#7797) 2025-04-04 14:08:02 +02:00
Jakob Zahn
997288c552
fix(python): highlight all types of docstrings (#7788) 2025-04-03 09:35:41 +02:00
Christian Clason
30654ee72a ci(tests): run tests on v0.10.4 2025-04-02 11:40:11 +02:00
Christian Clason
36a7d010bb ci(update): only check once a week (sat)
I need a break...
2025-04-02 11:19:22 +02:00
Christian Clason
79a6192d47 ci(update): block dhall,elm,enforce,rust (ABI 15) 2025-04-02 11:19:22 +02:00
Christian Clason
69cb3aafb6 fix(rust,dhall,elm,enforce): revert to ABI 14 parser 2025-04-02 11:19:22 +02:00
Christian Clason
cfbbea187b ci(tests): check queries on 0.10.4 2025-04-02 11:19:22 +02:00
nvim-treesitter-bot[bot]
288b4fb4d7 bot(lockfile): update erlang, glimmer_javascript, glimmer_typescript, php, php_only, qmljs, rust 2025-04-02 06:55:05 +00:00
nvim-treesitter-bot[bot]
4b390e1e46 bot(lockfile): update fortran, scala, tcl 2025-04-01 10:29:07 +02:00
nvim-treesitter-bot[bot]
9be6836ebe bot(lockfile): update editorconfig, elm, tcl 2025-03-31 10:47:25 +02:00
savanto
9df671fda4 dhall: recognize several missing builtins
- recognize builtin type `Bool`
- recognize import `... as Bytes`
- recognize builtin functions `Date/show`, `Time/show`, `TimeZone/show`
- recognize a bytes literal (ie. `0x"deadbeef"`)
2025-03-30 17:23:08 +02:00
nvim-treesitter-bot[bot]
86768fdd00 bot(lockfile): update dhall, enforce, http, javadoc, nu, superhtml, tcl, tera 2025-03-30 10:31:16 +02:00
Dennis van den Berg
aece106233 feat(angular): update highlights for template literals 2025-03-29 10:52:22 +01:00
nvim-treesitter-bot[bot]
a70d883976 bot(lockfile): update scala 2025-03-29 09:17:03 +01:00
nvim-treesitter-bot[bot]
a3315b8c7f bot(lockfile): update angular, koto, superhtml 2025-03-28 09:09:12 +01:00
nvim-treesitter-bot[bot]
da5825bf70 bot(lockfile): update angular, hcl, koto, meson, perl, superhtml, tact, terraform, vhs 2025-03-27 09:16:15 +01:00
nvim-treesitter-bot[bot]
85168f1580 bot(lockfile): update angular, koto, scala 2025-03-26 06:56:12 +00:00
nvim-treesitter-bot[bot]
e329e94a6a bot(lockfile): update javadoc, problog, prolog 2025-03-24 06:56:42 +00:00
nvim-treesitter-bot[bot]
d26ce01266 bot(lockfile): update hlsl, javadoc 2025-03-23 16:16:59 +00: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
nvim-treesitter-bot[bot]
b454febfd9 bot(readme): update 2025-03-23 15:53:44 +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
nvim-treesitter-bot[bot]
20a7e40203 bot(lockfile): update swift 2025-03-23 06:51:29 +00:00