Commit graph

118 commits

Author SHA1 Message Date
Steven Arcangeli
19e7391392 feat: New commands for opening/closing multiple windows (#100) 2022-05-13 08:03:07 -07:00
Github Actions
23be0bdcf9 [docgen] Update README.md
skip-checks: true
2022-03-31 15:40:43 +00:00
Github Actions
7566440e33 [docgen] Update README.md
skip-checks: true
2022-03-19 18:23:29 +00:00
Github Actions
d54bdadb59 [docgen] Update README.md
skip-checks: true
2022-03-11 04:11:47 +00:00
Github Actions
cf96d04960 [docgen] Update README.md
skip-checks: true
2022-03-02 21:13:32 +00:00
Github Actions
f4dab432cb [docgen] Update README.md
skip-checks: true
2022-02-21 21:55:55 +00:00
Github Actions
49a161d520 [docgen] Update README.md
skip-checks: true
2022-02-21 19:38:16 +00:00
Maddison Hellstrom
94281d4218
Add 'ignore' configuration options 2022-02-20 01:45:41 -08:00
Github Actions
eb961ecb6a [docgen] Update README.md
skip-checks: true
2022-02-03 20:32:00 +00:00
Github Actions
0cb2711e26 [docgen] Update README.md
skip-checks: true
2022-02-03 05:12:48 +00:00
Github Actions
98a33857ac [docgen] Update README.md
skip-checks: true
2022-01-29 20:49:15 +00:00
Github Actions
4a92635b03 [docgen] Update README.md
skip-checks: true
2022-01-06 22:13:33 +00:00
Github Actions
5fdde2ddc4 [docgen] Update README.md
skip-checks: true
2022-01-06 20:52:31 +00:00
Github Actions
8cb70f8e59 [docgen] Update README.md
skip-checks: true
2022-01-02 23:53:25 +00:00
Steven Arcangeli
9f1b9e63b6 refactor: allow open_automatic to be a function 2022-01-02 15:45:07 -08:00
Steven Arcangeli
5d34a11735 doc: fix references to old global variable 2022-01-01 16:24:34 -08:00
Steven Arcangeli
c6d1679070 style: run prettier on README 2022-01-01 16:19:56 -08:00
Steven Arcangeli
493b92942c doc: update docs for when no symbols are visible 2022-01-01 15:27:55 -08:00
Steven Arcangeli
3f99eec132 doc: move function documentation into comments 2022-01-01 14:55:29 -08:00
Steven Arcangeli
c332202703 cleanup: remove loading stuck documentation
We don't need this anymore because the source of the "forever loading"
bug was when the user forgot to call require("aerial").on_attach() for
the LSP backend. The new LSP backend prevents this behavior, and
AerialInfo displays helper text when the situation is encountered.
2022-01-01 14:35:00 -08:00
Steven Arcangeli
40a638680b refactor: Change aerial config to use setup function (#37)
This change is backwards-compatible, though the old global-variable
method will be removed at some point. The motivation for this change is
that looking up (and potentially processing) the values from global
variable on each call to `config.<var>` is slow (in a way that matters
for large files). We're fixing this by requiring a call to `setup()`
before using aerial and preprocessing all the options that need it. Now
config lookups are as fast as a table access.
2022-01-01 14:35:00 -08:00
Steven Arcangeli
568584ce54 feat: can open aerial in a floating window (fix #23) 2021-11-30 17:39:49 -08:00
Steven Arcangeli
f553b14464 feat: get_location() function for status lines (fix #22) 2021-11-28 19:24:20 -08:00
Steven Arcangeli
64da80b901 feat: Very simple backend for markdown
Since treesitter support for markdown is not currently blessed, we can
do a quick-and-dirty best-effort backend that will handle 99% of cases.
2021-11-21 16:09:10 -08:00
Steven Arcangeli
c795538683 doc: update README for treesitter backend 2021-11-21 07:01:54 -08:00
Steven Arcangeli
689cd4c242 feat: register_attach_cb() for unifying keymaps across backends 2021-11-20 18:54:28 -08:00
Steven Arcangeli
ff732ebe8d doc: update vimdocs for all the new options 2021-11-20 18:34:11 -08:00
Steven Arcangeli
8240a336ca feat: show filter_kind in AerialInfo 2021-11-20 18:16:47 -08:00
Steven Arcangeli
4165662c1c Add helper docs when aerial is stuck loading 2021-06-28 15:05:38 -07:00
Steven Arcangeli
70a6820708 Address #5: allow window placement at edge of editor 2021-06-28 14:48:05 -07:00
Steven Arcangeli
a8b4ff6f8e Resolve #5: option to update aerial when switching buffers 2021-06-28 11:37:30 -07:00
Steven Arcangeli
084bbb8ca7 Display more helper text when no symbols 2021-06-22 17:16:49 -07:00
Steven Arcangeli
6d2721096d Add more tree mutations and expose commands
This commit adds the following commands:
* AerialTreeOpen
* AerialTreeClose
* AerialTreeToggle
* AerialTreeOpenAll (new functionality)
* AerialTreeCloseAll (new functionality)
* AerialTreeSyncFolds

With the new functionality, we are now binding `zM` and `zR` in the aerial buffer, as well as in normal buffers when `link_folds_to_tree = true`.

Additionally I extracted the tree mutation logic into tree.lua and simplified some of the folding logic.
2021-06-22 16:57:36 -07:00
Steven Arcangeli
c47c7a5630 Refactor tree level navigation
The previous 'same_level' option didn't really cover my use cases. I
mostly want to be able to jump to the parent (or Nth parent) of my
current location. Occasionally I want to jump to the root node that
comes after the parent of my current node. Often I want to jump forwards
and backwards between root nodes.
2021-06-19 14:01:00 -07:00
Steven Arcangeli
6304504626 Feature: code folding 2021-06-18 17:21:38 -07:00
Steven Arcangeli
2befe59c33 Document missing option 2021-06-17 17:06:21 -07:00
Steven Arcangeli
32486c341a Can set filter_kind to false for all symbols 2021-06-17 16:54:54 -07:00
Steven Arcangeli
b6dffeb610 Navigate next/prev at the same tree level 2021-06-17 16:28:48 -07:00
Steven Arcangeli
5e3a18cd73 Add the ability to disable cursor tracking 2021-06-17 16:28:48 -07:00
Steven Arcangeli
e170a21e83 Add an option to disable zvzz 2021-06-17 15:42:36 -07:00
Steven Arcangeli
56743cfcf3 Document tree_cmd 2021-06-17 15:38:35 -07:00
Steven Arcangeli
c7aaea8cd7 Remove 'virtual window' logic in favor of simple splitting 2021-06-17 15:33:35 -07:00
Steven Arcangeli
979ebd061c Add option for default close behavior 2021-06-17 14:21:49 -07:00
Steven Arcangeli
6e04e5a263 Add vim commands for ease of use 2021-06-17 14:21:49 -07:00
Steven Arcangeli
639ffe285b Rework and simplify configuration options 2021-06-17 14:21:49 -07:00
Steven Arcangeli
81a4fe010c Update symbols-on-diagnostics behavior 2021-06-17 14:21:49 -07:00
Steven Arcangeli
c53ecb29fe Get rid of automatic_direction option 2021-06-17 14:21:49 -07:00
Steven Arcangeli
0971f9f015 Rework the navigation API 2021-06-17 14:21:42 -07:00
Steven Arcangeli
b083436b6d Put keybinding and highlight documentation into README 2021-06-16 20:33:51 -07:00
Steven Arcangeli
e3985817fe Refactor direction args to be left/right 2021-06-16 20:14:21 -07:00
Steven Arcangeli
9feaca037b Update the README 2021-06-16 19:23:57 -07:00
Steven Arcangeli
d0e3b8be6e Feature: open/close nested symbols like a tree 2021-06-16 19:02:07 -07:00
Steven Arcangeli
b194857047 Add configurable highlighting 2021-06-16 15:56:05 -07:00
Steven Arcangeli
310ef24c5c Add first basic support for nerd font icons 2021-06-16 15:56:05 -07:00
Steven Arcangeli
cb2ae28d6e Refactor data storage logic 2021-06-16 15:56:05 -07:00
Steven Arcangeli
f2f21edb4c Refactor pane -> window and reorganize some code 2021-06-16 09:18:12 -07:00
Steven Arcangeli
b0e850c9cc Small documentation cleanups 2021-06-16 08:55:46 -07:00
Steven Arcangeli
2dbd07b356 Update aerial position when cursor moves 2021-06-16 08:54:51 -07:00
Steven Arcangeli
456ee180a5 Clean up some lints and warnings 2021-06-16 08:12:57 -07:00
Steven Arcangeli
395f06803b Update keymap API to new neovim nightly 2021-03-12 10:42:34 -08:00
Steven Arcangeli
10bfa6899a Add g:aerial_open_automatic_min_symbols 2020-09-24 09:46:07 -07:00
Steven Arcangeli
37b4f74b47 Add a gif 2020-09-24 00:24:43 -07:00
Steven Arcangeli
0e3c68fd5c Show document hierarchy 2020-09-22 08:57:35 -07:00
Steven Arcangeli
79930d2731 zzzv -> zvzz 2020-09-21 19:28:28 -07:00
Steven Arcangeli
fefb52e226 Update help tags 2020-09-21 19:19:37 -07:00
Steven Arcangeli
cde80b1f8a Dynamically resize aerial pane 2020-09-21 10:15:52 -07:00
Steven Arcangeli
89f45e7b31 Make prev_item and next_item work in the aerial buffer 2020-09-20 22:12:36 -07:00
Steven Arcangeli
3faa3993f1 First draft 2020-09-20 21:44:13 -07:00