Commit graph

805 commits

Author SHA1 Message Date
Steven Arcangeli
f6f74a04ba fix: nav view doesn't force cursor to col 0 (#403) 2024-09-11 09:10:07 -07:00
github-actions[bot]
fa75fd0286
chore(master): release 2.3.0 (#409)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-10 10:39:34 -07:00
emmanueltouzery
0a2cf2b120
feat(treesitter): add XML support (#405) 2024-09-10 10:34:56 -07:00
ergou
3c04b040a8
fix(treesitter): explicitly set all to false in iter_matches (#407)
* feat: explicitly set all to false in iter_matches

Due to neovim's breaking change for treesitter, in nightly build the
option all is set to true by default

* feat: use nil value to make iter_matches use default
2024-09-10 10:25:32 -07:00
Steven Arcangeli
89c9b5fb28 test: update tsx snapshots for upstream parser changes 2024-09-10 10:24:57 -07:00
github-actions[bot]
b59e01e438
chore(master): release 2.2.0 (#398)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-30 09:34:45 -07:00
Steven Arcangeli
491e2fc564 fix(zig): update queries for new zig treesitter parser 2024-08-30 09:31:32 -07:00
Qiu Yu
92f93f4e15
feat(proto): add treesitter query for grpc in proto filetype (#404) 2024-08-28 17:38:19 -07:00
Qiu Yu
e585934fef
feat(starlark): treesitter support for Starlark (#402) 2024-08-21 20:40:59 -07:00
Qiu Yu
bb95e7fed7
feat(just): treesitter support for Just (#401) 2024-08-21 16:48:39 -07:00
Nicholas Ciechanowski
8d2a6c2ffa
fix(php): update treesitter query (#400) 2024-08-20 09:31:33 -07:00
Jet
eeebf32fcb
feat(telescope): can provide custom function to format symbols (#395)
* allow nesting symbol

* update docs

* stylua

* fix indentations issue

* use better function

* multichar is a nightmare

* nuke nesting_symbol_length

* revert change

* revert blank line

* stylua

* refactor: expose format function instead of booleans

* lint: remove unused assignment

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-08-15 22:41:40 -07:00
WieeRd
263beeb929
feat(toml): treesitter support for TOML tables (#396)
* feat(toml): treesitter support for TOML tables

* test(toml): add test data for TOML documents
2024-08-12 09:21:46 -07:00
github-actions[bot]
d5ba0e3cfe
chore(master): release 2.1.0 (#389)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-10 13:48:23 -07:00
Micah Halter
b092d6373d
fix: warning when closing buffers with the LSP backend in place (#397)
* perf: remove unnecessary check for no `bufnr` as it's already checked a few commits prior

* fix(lsp): remove unnecessary warning in `fetch_symbols`. Fixes #393

* fix: restore buffer defaults

---------

Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2024-08-10 13:33:08 -07:00
Steven Arcangeli
e75a3df2c2 fix(ruby): missing methods in treesitter backend (#382) 2024-07-23 17:29:06 -07:00
Sergey Tarasov
4e77964569
feat: Adds syntax highlighting in the telescope picker (#386)
* Add telescope highlighting

* Fix no TS language parser edge case

* Fix language detection for non-matching languages

* Remove nvim-treesitter dependency, streamline logic

* Change to show_columns option

* Update README
2024-07-16 15:12:17 -07:00
Github Actions
e4de1a4b3f [docgen] Update docs
skip-checks: true
2024-07-15 23:09:43 +00:00
Micah Halter
3d910b2ba0
feat: add support for mini.icons (#383) 2024-07-15 16:09:29 -07:00
github-actions[bot]
7e2615991c
chore(master): release 2.0.0 (#388)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-15 13:57:14 -07:00
Steven Arcangeli
b309d0df6b
refactor!: drop support for Neovim 0.8 (#387) 2024-07-15 11:31:20 -07:00
github-actions[bot]
d8343d0c93
chore(master): release 1.8.0 (#378)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-15 11:02:17 -07:00
reverendpaco
db0af491ff
feat: highlight parent symbol in Nav UI (#380)
* feat: added a highlight group for the left-hand side of the Nav float ui to indicate the parent of the current symbol

* feature tweak: made sure to force focus on the left-hand side if the list on the left-hand side is super long

* format: apply stylua

* fix: restore AerialVariableIcon hl group

* refactor: use full-line highlighting in nvim 0.10

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-07-01 12:15:05 -07:00
Marc Jakobi
a1c5476732
docs(readme): clarify that this plugin does not depend on nvim-treesitter (#379) 2024-06-24 17:28:50 -07:00
DragonBillow
eb25396dae
feat: support loongdoc with asciidoc backend (#377) 2024-06-17 10:25:33 -04:00
Steven Arcangeli
34cfc0143d fix: update tests for vimdoc parser changes 2024-06-17 10:22:54 -04:00
Steven Arcangeli
75de06f8ed lint: autoformat all tree-sitter query files 2024-06-01 20:50:39 -07:00
Steven Arcangeli
690290be7f ci: use nvim-typecheck-action v2 2024-06-01 19:26:10 -07:00
Steven Arcangeli
bd5f141a54 doc: better type annotations for API methods 2024-05-21 21:25:02 -07:00
Steven Arcangeli
97a838ccc0 ci: upgrade release-please-action to v4 2024-05-16 12:35:30 -07:00
github-actions[bot]
4d10acbcb7
chore(master): release 1.7.0 (#363)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 12:10:41 -07:00
Steven Arcangeli
9e725f0810 ci: run tests against Neovim v0.10.0 2024-05-16 11:43:00 -07:00
Steven Arcangeli
6c42401801 ci: update stylua version to v0.20.0 2024-05-16 11:33:27 -07:00
Steven Arcangeli
228fad1139 fix: attach_mode="global" never allows multiple windows to open (#369)
There was an edge case with "ignored" window types that would cause
`:AerialOpen` in an ignored window to potentially open a second aerial
win.
2024-05-07 16:55:13 -07:00
Steven Arcangeli
83a79f39b7 ci: update checkout action 2024-04-23 19:18:25 -07:00
Steven Arcangeli
daeee77f39 fix: refactor deprecated methods in neovim 0.10 2024-04-23 07:20:39 -07:00
brunnseb
7045e7cb00
feat(tsx): treesitter support for JSX symbols (#365)
Co-authored-by: Sebastian <sebastian.brunner@ti8m.ch>
2024-04-19 10:56:26 -04:00
Markus Koller
218eae4cb7
fix(lualine): use sep_icon in dense mode as well (#360) 2024-04-17 10:17:02 -04:00
github-actions[bot]
399e276328
chore(master): release 1.6.0 (#349)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-16 16:36:05 -04:00
Micah Halter
2f1b8979d2
fix(julia): treesitter queries changed upstream (#362)
* fix(julia): treesitter queries changed upstream

* fix(julia): for fully qualified functions show entire expression

* fix(julia): fix short function definitions

* fix(julia): show all of the function definition expression because just the name is useless with multiple dispatch

* fix(julia): update tests to match new function symbol names
2024-04-16 16:30:37 -04:00
Github Actions
b6697d8d65 [docgen] Update docs
skip-checks: true
2024-04-16 20:27:50 +00:00
Gordon Cassie
5961a1afc0
feat(zig): basic treesitter support for zig. (#359)
* Add basic support for navigating zig files.

* Fix struct start position.

* Add test and tagged unions.

* Add test.
2024-04-16 16:27:37 -04:00
Linus Boehm
24ebacab58
fix: check if bufdata.last_win != nil (#356)
When opening nvim in diffview (`nvim -c DiffviewOpen`) and then toggeling aerial,
aerial errors when trying to call `vim.api.nvim_win_is_valid(bufdata.last_win)`
as bufdata.last_win == nil. This change adds a check and returns in case of a nil
value.

Co-authored-by: Linus Boehm <linusboehm@gmail.com>
2024-03-27 20:26:39 -07:00
Steven Arcangeli
51a07949ab fix: can open aerial in ignored windows (#352) 2024-03-23 20:39:36 -07:00
Github Actions
219dca2145 [docgen] Update docs
skip-checks: true
2024-03-24 03:11:07 +00:00
Linus Boehm
bdc94c5387
feat: option to enable earial in diff windows (#355)
resolves #354

Co-authored-by: Linus Boehm <linusboehm@gmail.com>
2024-03-23 20:10:54 -07:00
Steven Arcangeli
993142d492 fix: set lsp.diagnostics_trigger_update=false by default
Some LSP servers are less than consistent with pushing diagnostics. For
this and other reasons, I think tying the symbol refresh to diagnostics
is maybe not the best move. The first step I'm going to take is to make
the default behavior use a simple change listener, like the treesitter
backend. I may eventually deprecate and remove this behavior entirely.
2024-03-13 20:56:42 -07:00
emmanueltouzery
c8a40b1266
feat(treesitter): groovy support (#351) 2024-03-11 16:29:45 -07:00
Github Actions
31fbd369bb [docgen] Update docs
skip-checks: true
2024-03-02 23:24:03 +00:00
DragonBillow
c45d5672c8
feat(backend): add asciidoc (#348)
* feat(backend): add asciidoc

Signed-off-by: DragonBillow <DragonBillow@outlook.com>

* test(asciidoc): add test for asciidoc

Signed-off-by: DragonBillow <DragonBillow@outlook.com>

* fix: move asciidoc test into separate file

* fix(asciidoc): remove call to treesitter extensions

* test(asciidoc): update asciidoc test

Signed-off-by: DragonBillow <DragonBillow@outlook.com>

* feat(asciidoc): check title like text in block

Signed-off-by: DragonBillow <DragonBillow@outlook.com>

* test: fix symbols files

---------

Signed-off-by: DragonBillow <DragonBillow@outlook.com>
Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-03-02 15:23:47 -08:00