Commit Graph

366 Commits

Author SHA1 Message Date
eph
fb9634cdaa fix: incorrect character of range and selectionRange 2025-02-05 03:23:39 +08:00
eph
14e245bbfa feat: add to jumplist before goto location 2025-01-06 03:15:00 +08:00
~hedy
f7a3940b0e chore(fmt): stylua 2025-01-05 09:14:32 +08:00
~hedy
20aa0659e1 docs: Update language 2025-01-05 09:11:08 +08:00
~hedy
12ec5f213c Merge pull request #109 from epheien/feat-icon_fetcher
feat: icon_fetcher adds symbol parameter
2025-01-05 08:58:42 +08:00
~hedy
f656ef12a5 Merge pull request #108 from epheien/feat-view-filter
feat: add view.filter option
2024-12-27 20:40:00 +08:00
eph
7fefc760ba feat: help filetype will not ignore to refresh 2024-12-27 19:49:57 +08:00
eph
a3717e7a4e feat: icon_fetcher adds symbol parameter 2024-12-27 11:42:13 +08:00
~hedy
4f601da7cc Merge pull request #104 from epheien/feat-man
feat: add man support
2024-12-27 09:19:46 +08:00
~hedy
5e643c5913 Merge pull request #100 from xiaoqixian/main
fixed a bug in capturing guicursor style using regex
2024-12-27 09:05:48 +08:00
~hedy
be418351c8 Merge pull request #106 from epheien/feat-kind
feat: support string type kind
2024-12-27 09:04:40 +08:00
eph
ec0d2b7f48 feat: support string type kind 2024-12-27 01:34:04 +08:00
eph
70d95d73e9 feat: selectionRange fallback: selectionRange => location.range => range 2024-12-27 01:30:49 +08:00
eph
38f9a8c586 feat: add man support 2024-12-26 20:51:51 +08:00
lunar
0196830391 fixed a bug in capturing guicursor style using regex 2024-11-14 19:59:56 +08:00
~hedy
41e7b88a2b fix: Error on goto_location when code window closed
Mentioned by @gennaro-tedesco in #91
2024-09-09 15:29:59 +08:00
MengQ
c727d3a0ab fix: close the last window 2024-09-07 22:55:41 +08:00
oskarrrrrrr
32b5c962f9 Merge branch 'main' into preview_window_size_settings 2024-08-13 08:18:26 -04:00
Oskar Tołkacz
7df74ef5ed Fix: do not require lspkind if not configured 2024-08-12 11:00:33 -04:00
Oskar Tołkacz
fdaa883d9d Show lspkind error message just once
Instead of showing an error message for every symbol in every outline
window, show just one error on opening nvim.
2024-08-12 10:43:26 -04:00
Oskar Tołkacz
41bcd3e04b Improve preview window size calculation
- Stop caching width and height of the preview window which prevented the
size to be adjusted after the nvim window's resize.
- Add config options for height to match width options.
- Mention height config options in readme and vimdoc (previously
  missing).
2024-08-09 10:35:38 -04:00
~hedy
8bfb5435d7 docs: Reword details regarding symbols.icon_fetcher 2024-07-05 20:45:35 +08:00
~hedy
bc58f196ec feat: Pass in the buffer number for symbols.icon_fetcher 2024-07-05 12:51:48 +08:00
~hedy
d551ee537c Merge pull request #70 from lvim-tech/main
Fix deprecated get_active_clients
2024-06-05 20:57:01 +08:00
~hedy
193e03a7b7 Support neovim < 0.10 for lsp.get_clients 2024-06-05 20:54:26 +08:00
~hedy
b199de1524 Merge branch 'main' of github.com:hedyhli/outline.nvim 2024-05-30 07:53:26 +08:00
~hedy
e0b86347ad feat: Focus outline if already open
closes #71
2024-05-30 07:52:51 +08:00
LVIM ORG
e6afff238c Fix deprecated get_active_clients 2024-05-19 12:52:54 +03:00
jinzhongjia
a533494f81 Merge branch 'main' into main 2024-05-04 15:28:13 +08:00
~hedy
9fce1de9f1 fix: Make has_provider() public as it was supposed to be
Closes #48
2024-05-02 21:00:50 +08:00
Zheng Piaodan
3e42493b17 fix(outline-window): no resize if split_command like "30vsplit" 2024-04-15 14:22:40 +08:00
hedy
ec9571c8f0 Merge branch 'main' of github.com:hedyhli/outline.nvim 2024-03-16 08:13:33 +08:00
hedy
b64c0c66d4 feat(providers): Support independent configs for each provider to handle
Closes #58
2024-03-16 08:12:50 +08:00
jinzhongjia
4a7cc30c86 [fix]: When the window was first created, filetype was empty. 2024-02-20 18:35:14 +08:00
Baptiste Zorzi
746b8a6206 [fix] - Fixing Coc symbol parsing bug 2024-01-11 14:06:55 +01:00
hedy
8c6b11e4c2 chore: stylua 2023-12-29 21:50:48 +08:00
hedy
6172c2ad2b chore: Update comment 2023-12-29 21:49:28 +08:00
hedy
8b2f412b7b fix(providers): Ensure working on nvim-0.7
This commit removed the ability to receive symbols from all attached
clients in the current buffer. Everything works as before when only one
client is attached to a buffer.

This also fixes outline LSP finding clients on nvim-0.7
2023-12-29 19:17:00 +08:00
hedy
982460584f fix(lsp): Use vim.buf.lsp.rename for rename_symbol
Closes #42
2023-12-27 22:14:12 +08:00
hedy
d073791f1c fix: No-op keymaps when there is no provider 2023-12-13 18:40:08 +08:00
hedy
19d876246c fix: Outline auto-update
- Typo in checking for buflisted.
- As it turns out bufhidden isn't boolean, so let's not even consider it
  for now. Doing this still allows buffers like LspInfo to be ignored,
  it seems. In the future we will have configurable ignored buffers.

Thanks to @Djedouas for bringing it up.
2023-12-12 20:24:16 +08:00
hedy
8b9f908386 chore(fmt): stylua 2023-11-30 21:55:40 +08:00
hedy
5d5f891afb fix(live-preview): Don't focus when it shouldn't for auto-preview 2023-11-30 19:07:25 +08:00
hedy
a5411b0a0c fix: Ignore special buffers, fix auto-preview and not focus_on_open 2023-11-30 10:17:00 +08:00
hedy
4bbecbb92e feat: Auto-resize and re-position preview
Only for auto-preview.
2023-11-30 10:02:01 +08:00
hedy
c4dc273156 fix: Scroll window to content on no providers message 2023-11-29 21:52:59 +08:00
hedy
920e12736c feat: Autofold non-hovered symbol by default 2023-11-29 18:18:18 +08:00
hedy
438d26896f feat: Still open/refresh outline when no providers 2023-11-29 17:32:07 +08:00
hedy
884486f3d0 feat: Live previews (peek editor)
Disabled by default, but if this feature turns out to be useful and
stable, it will replace the old preview window.
2023-11-28 20:50:08 +08:00
hedy
3ebf0ffc69 feat: Use augroup
I had no idea augroup does all I tried to do with `self.autocmds`. Oh
well.

Also added sidebar.id, which is one step closer to #25
2023-11-28 09:38:57 +08:00