Commit graph

12 commits

Author SHA1 Message Date
Qiu Yu
bb95e7fed7
feat(just): treesitter support for Just (#401) 2024-08-21 16:48:39 -07:00
Slotos
21e3358617
chores: update markdown expectations, regenerate ruby symbols, enable nvim-treesitter main testing (#323)
* chore: Fix markdown tests

Recent update to nvim-treesitter breaks aerial.nvim tests.
Specifically:
- nvim-treesitter/nvim-treesitter@96f55f3043
- MDeiml/tree-sitter-markdown@cd705f1591

Manually poking around, the behaviour remains the same

* chore: Regenerate ruby symbol snapshots

Prior version held a bunch of data written by hand. This commit updates
it to avoid false alarms when generating symbols for new or updated
queries.

Expectations are not changed, only the order of keys in individual
tables was updated.

* chore: Option to run tests on nvim-treesitter main

While nvim-treesitter is not a strict requirement for aerial.nvim, it
is used to install parsers and it updates nvim default language to
parser assignments with practical values. This commit adds an ability to
run tests against `main` branch by providing `--test-main` option to
`run_tests.sh`.

* chore: Add neorg parser config to main branch

Use C++14 compatible compiler when running tests with `--test-main`,
otherwise parser compilation will fail.
2023-11-09 21:17:09 -08:00
Colin Kennedy
eb301a4763
feat(treesitter): support for objdump files (#320)
* Added aerial queries for objdump

Added objdump to minimal_init.lua

* ci: tests fail if changes to snapshot files

* cleanup: comments on test filetype special cases

* test: add objdump test snapshots

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2023-10-31 07:55:51 -07:00
Slotos
b5d5f480a7
refactor: use built-in treesitter APIs and remove nvim-treesitter requirement (#294)
* Use vim.treesitter instead of nvim-treesitter helpers

0.10 compatible nvim-treesitter is removing a lot of code, since main
  functionality is readily available in the core neovim.
This commit extracts all calls to nvim-treesitter helpers in favor of
neovim core functions, own implementations, or clones of nvim-treesitter
functions. This aligns with nvim-treesitter `main` branch description of
being a parser installation helper and queries repository.

Co-Authored-By: Steven Arcangeli <stevearc@stevearc.com>
Co-Authored-By: Chen Shuaimin <chen_shuaimin@outlook.com>

* cleanup: remove unnecessary has_query helper

* refactor: replace get_at_path with more specific helper

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
Co-authored-by: Chen Shuaimin <chen_shuaimin@outlook.com>
2023-10-17 08:38:28 -07:00
Ryan Dale
c306ffcf34
feat(treesitter): support for snakemake (#316)
* add snakemake, based off of python

* add snakemake test file

* add example (but currently incorrect) test file

* fix tests
2023-10-17 07:58:08 -07:00
Steven Arcangeli
e16f739411 test: fix tests for USD backend 2023-05-17 01:01:24 -07:00
Steven Arcangeli
bc2bc8b5d0 fix: help parser has been renamed to vimdoc 2023-04-01 12:56:56 -07:00
Steven Arcangeli
e4ed6d95f9 cleanup: remove test logic for old nvim versions 2022-11-27 14:21:57 -08:00
Steven Arcangeli
c5f656cb78 test: test harness isolation improvements 2022-10-21 20:10:50 -07:00
Steven Arcangeli
aa3332acdd test: only install TS parsers for supported languages 2022-10-21 05:48:13 -07:00
Steven Arcangeli
85baf29b09 fix: update markdown ts query for breaking parser change 2022-06-26 10:01:53 -07:00
Steven Arcangeli
d953c28f81 test: refactor tests to work with neotest 2022-06-15 09:12:30 -07:00
Renamed from tests/init.lua (Browse further)