Commit Graph

181 Commits

Author SHA1 Message Date
eph
dac961f911 docs: List treesitter external provider 2024-12-27 01:39:24 +08:00
eph
c80f54ba4a docs: List ctags external provider 2024-12-24 23:56:30 +08: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
287ec77eab docs: Fix reference to outline_window.focus_on_open 2024-07-05 13:24:53 +08:00
~hedy
7d03ade418 docs: Better external providers API 2024-07-05 13:21:56 +08:00
~hedy
844c17032b docs: Trim demo video
So the thumbnail shows the open outline.
2024-07-05 13:05:15 +08:00
~hedy
bc58f196ec feat: Pass in the buffer number for symbols.icon_fetcher 2024-07-05 12:51:48 +08:00
~hedy
168bca1528 docs: neither did that one 2024-06-05 21:15:41 +08:00
~hedy
996d246ed9 docs: the previous fix did not fix 2024-06-05 21:13:37 +08:00
~hedy
82ec201612 docs: yet another readme fix 2024-06-05 21:12:08 +08:00
~hedy
c61634f63f docs: Fix typo in readme 2024-06-05 21:04:27 +08:00
~hedy
e0b86347ad feat: Focus outline if already open
closes #71
2024-05-30 07:52:51 +08:00
~hedy
dbd836893f docs: Update readme 2024-05-02 21:31:39 +08:00
~hedy
1c8b164c4d docs: Mention including widths in split_command
And remove trailing spaces
2024-05-02 20:56: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
mbpowers
c63ac09b96 missing comma in README.md 2024-01-21 14:00:55 -06:00
hedy
6127365ba0 docs: Update readme & changelog 2023-12-27 22:21:30 +08:00
~hedy
db5463171b Update README.md 2023-12-03 08:12:23 +08:00
~hedy
9d26280c0b docs: Fix typos 2023-12-01 08:14:03 +08:00
hedy
4bbecbb92e feat: Auto-resize and re-position preview
Only for auto-preview.
2023-11-30 10:02:01 +08:00
hedy
cf194e43bc docs: Clarify readme 2023-11-29 21:32:59 +08:00
hedy
920e12736c feat: Autofold non-hovered symbol by default 2023-11-29 18:18:18 +08:00
~hedy
4fbd94f9e6 Update README.md
Who said it's yaml
2023-11-29 07:22:42 +08:00
hedy
6a020c15d5 docs: Update readme 2023-11-28 21:41:07 +08:00
hedy
75ade708ef docs: Discuss related plugins in the readme 2023-11-28 21:37:13 +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
5764294eb7 docs: List asciidoc external provider 2023-11-26 15:29:37 +08:00
hedy
6d85399550 feat: Use more concise API names
No breaking change.
2023-11-25 15:43:36 +08:00
hedy
6cea72f2b5 feat(api): Get symbol and breadcrumb at location
Currently the implementation is very limited.

Ref: #24

- Outline must be open and have been loaded for it to work (requires
  lazy loading or headless loading of Sidebar)
- Empty string returned if cursor is not in any symbol ('closest' symbol
  not yet supported)
- Line column not used
- Returning concatenated symbol names rather than a list of tables with
  node info (requires a refactor of outline.SymbolNode type)
- Subject to config.symbols.filter and folds (requires finding hover
  list somewhere outside of writer.make_outline)
2023-11-25 15:41:55 +08:00
hedy
f586147ee2 docs: Fix readme -> vimdoc ignore sections 2023-11-24 17:26:09 +08:00
hedy
e5ee7dd15a docs: Fix capitalization 2023-11-24 17:17:45 +08:00
hedy
1c856660a4 docs: Update readme and changelog 2023-11-24 17:13:25 +08:00
hedy
fab3e8ce7c feat(status): Use custom highlight with default links 2023-11-24 16:47:36 +08:00
hedy
2d936bce2d docs: Update readme 2023-11-24 14:52:43 +08:00
hedy
9c54fe1bcf docs: Fix indented list in readme 2023-11-22 22:32:34 +08:00
hedy
d35187ef37 feat: Norg provider and support of external providers
- Closes #3
- Ref: simrat39/symbols-outline.nvim#190

Norg contains indents and different types of verbatim tags, I was rather
lazy to read the spec properly and parse norg using regex line-by-line
like markdown, so used treesitter instead. The only requirement is the
`norg` parser for treesitter to be installed. Tested on nvim 0.7.2.

This should lead the way for supporting vimdoc files in a similar
manner.

Documentation for how external providers could look like as of now has
been added.

In the future we could let the provider determine what to do for each
keymap, such as `goto_location` and `toggle_preview`. This would allow
the zk extension[1] to work properly without having to override existing
functions (bad practice).

[1]: https://github.com/mickael-menu/zk-nvim/discussions/134
2023-11-22 22:16:19 +08:00
hedy
a335618d5a docs: Clarify about neovim 0.7 in readme 2023-11-21 09:30:49 +08:00
hedy
a8343026bf docs: Update readme 2023-11-21 08:42:41 +08:00
hedy
699bc85cc5 feat: Properly support nvim-0.7, and fix highlights 2023-11-21 08:39:05 +08:00
hedy
a239dbfc14 docs: Update readme 2023-11-19 22:40:44 +08:00
hedy
ad6b15ee08 refactor: Rename of most recent option 2023-11-19 22:35:07 +08:00
hedy
24b4634cee docs: Document new features
Now we should close #28
2023-11-19 21:05:25 +08:00
hedy
9b90379c7a Refactor 2023-11-19 17:45:41 +08:00
hedy
4834db0802 docs: Only show 2nd level headings in TOC 2023-11-19 08:41:42 +08:00
hedy
036bae6834 docs: More consistency in referring to config options 2023-11-18 22:31:33 +08:00
hedy
f8c212bcd2 docs: Document new options, commands, API functions 2023-11-18 22:24:34 +08:00
hedy
f83eb09635 docs: Update readme 2023-11-18 21:19:47 +08:00
hedy
58e92199f3 fix conflicts 2023-11-18 12:16:43 +08:00