Commit graph

992 commits

Author SHA1 Message Date
Christian Clason
8fb218dbfd feat(locals)!: switch to upstream captures 2023-09-09 16:17:08 +02:00
Lewis Russell
1b7cde34e3 fix: cleanup diagnostics 2023-09-09 16:17:08 +02:00
Lewis Russell
3b79045583 fix: add stricter cc options (#5063) 2023-09-09 16:17:08 +02:00
TheLeoP
83358dfbef 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.
2023-09-09 16:17:08 +02:00
TheLeoP
92c302b862 fix: make locals work again 2023-09-09 16:17:08 +02:00
TheLeoP
6337f0872d fix: check if config has install_info in filter 2023-09-09 16:17:08 +02:00
Lewis Russell
36762ec3f8 fix: check queries in needs_update() 2023-09-09 16:17:08 +02:00
Lewis Russell
d696bf5b2f fix: filter languages through parser.configs 2023-09-09 16:17:08 +02:00
Christian Clason
0ce8619a25 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
2023-09-09 16:17:07 +02:00
Christian Clason
c9ee49f61d 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.
2023-09-09 16:17:03 +02:00
Lewis Russell
30ee6476c2 refactor: use vim.system (#4923) 2023-09-09 16:17:03 +02:00
Christian Clason
ba05f949b8 fix: expand tiers in ignore_install 2023-09-09 16:17:03 +02:00
Christian Clason
49dd75859f feat: drop TSInstallInfo in favor of better checkhealth
also fixes the hole in install.compilers
2023-09-09 16:17:03 +02:00
Christian Clason
161310566a refactor: use vim.uv 2023-09-09 16:17:03 +02:00
Christian Clason
ea192c36ad fix: install dependencies 2023-09-09 16:17:03 +02:00
Lewis Russell
73ddd80069 refactor: rewrite installation using jobs and async
Replace sync variants with callback support
2023-09-09 16:17:03 +02:00
Christian Clason
52976802a5 refactor: use vim.fs.joinpath 2023-09-09 16:17:03 +02:00
Christian Clason
fdafc019bb feat!: refactor locals.lua into standalone 2023-09-09 16:17:02 +02:00
Christian Clason
2c8f2f2fad feat!: drop modules, general refactor and cleanup 2023-09-09 16:16:51 +02:00
Tavish Pegram
9d637b7ae8
Feat: Add unison (#5340)
* Add unison

* Trivial change to force prepush hook

* Undo change

* PR Feedback - remove appended text in query after variable, update lockfile, remove main branch specification in parser

* Replacing captures with only ones in the contributing.md

* Fix typo

* Generate from grammar

* First group of suggested changes

* Update gt operator

* Remove outer parens

* Remove maybe.c

* Add comment injection
2023-09-03 15:05:18 -04:00
Amaan Qureshi
f8c2825220 feat: add Kconfig 2023-08-31 14:19:23 -04:00
Amaan Qureshi
f0f115e926 feat: add NQC 2023-08-31 05:25:29 -04:00
Amaan Qureshi
a4f4fcdd3e feat: add Doxygen 2023-08-26 04:58:36 -04:00
Amaan Qureshi
c58694685d feat: add re2c 2023-08-24 02:52:48 -04:00
Amaan Qureshi
7c935d6bd5 feat: add Forth 2023-08-21 05:04:42 -04:00
Amaan Qureshi
a185f8ebae feat: add strace 2023-08-20 14:52:06 -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
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
b223402ba9 fix(directive): make downcase work on captures 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
Christian Clason
2aa9e9b0e6 feat!: bump required Nvim version to 0.9.1 2023-08-12 17:34:15 +02:00
Borys Lykah
c981ea0684 fix: rename filetype for haskell persistent to match vim 2023-08-11 01:26:54 -04:00
ObserverOfTime
898f9c13d6 feat: add requirements parser 2023-08-10 23:17:56 +03:00
Trey Wood
8968a3a541
feat!: change upstream proto parser and improve highlights 2023-08-02 13:54:53 -04:00
Christian Clason
4c4d586a05 fix(t32): correct gitlab URL 2023-08-01 09:47:37 +02:00
Christoph Sax
4fd6d9dc17 refactor(t32): remove revision pinning 2023-08-01 05:44:28 +02:00
Christoph Sax
536c8a3880 feat(t32): re-enable tests
- Switch to GitLab mirror repository
- Lock grammar version 2.2.0
- Revert "fix(tests): mark t32 as allowed to fail"
  This reverts commit ba223ceecc.
- Revert "fix(tests): remove t32 tests"
  This reverts commit 97957a547b.
2023-07-30 19:29:33 +02: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
Amaan Qureshi
f09bcffe0c fix(hoon): add scanner file 2023-07-27 10:30:07 +02:00
Amaan Qureshi
11610e0631 fix(pug): adapt to scanner rewrite 2023-07-27 10:23:36 +02:00
Amaan Qureshi
203981d288 fix(hcl, terraform): adapt to scanner rewrite 2023-07-27 09:13:19 +02:00
Amaan Qureshi
25158a8b39 fix(r): adapt to scanner rewrite 2023-07-27 08:51:34 +02:00
Hugo
736a672afe
feat: add scfg 2023-07-25 16:49:09 -04:00
Amaan Qureshi
7c1e944311 fix(fortran): adapt to scanner rewrite 2023-07-24 21:51:32 +02:00
OK Ryoko
461d841771
feat: add SystemTap (#5097) 2023-07-18 22:55:06 +03:00
Michael Hoffmann
b64ea2ec44 feat(promql,yaml): add parser and yaml injections
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-07-18 03:03:11 -04:00
Amaan Qureshi
a2c3a7319f fix(menhir): adapt to scanner rewrite 2023-07-18 08:52:45 +02:00