Commit Graph

9 Commits

Author SHA1 Message Date
hedy
58b1bee0be fix: Typo introduced in follow_cursor commit for __refresh()
Courtesy of @silvercircle for bringing it up.

Typo introduced in: 9e96b54
2023-11-12 09:09:23 +08:00
hedy
f3ad74315d fix: Outline refresh on CursorHold event moving cursor
Closes #7
2023-11-12 08:30:05 +08:00
hedy
5aa15e9955 feat: Goto and close keybinding 2023-11-11 14:04:26 +08:00
hedy
e9d83e472e feat: Blend cursor color with cursorline 2023-11-11 11:20:14 +08:00
hedy
09b51fa5d5 feat: Print warning when no providers found 2023-11-08 22:24:45 +08:00
hedy
29ed132f07 MAJOR: Refactor configuration structure
The details of the change is documented in the readme.

If your config stops working, I'm fully responsible :)
2023-11-08 13:56:09 +08:00
hedy
9e96b54de9 feat: Add follow_cursor and restore_location
New lua API function: follow_cursor (supports opts.focus_outline).
This sets location in outline to match location in code.

New keymap: restore_location (C-g) by default.
This provides the same functionality as follow_cursor.

I've also refactored other lua API functions for consistency of using
`opts.focus_outline`. If opts is not provided, focus_outline is
defaulted to true. To change this behaviour, set it to false.
2023-11-06 09:20:52 +08:00
hedy
8ddaa13443 Merge upstream PR #229
simrat39/symbols-outline.nvim#229
2023-11-03 09:43:02 +08:00
hedy
7ad4009d17 Update readme and reorganize 2023-11-03 09:28:44 +08:00