Commit Graph

7 Commits

Author SHA1 Message Date
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
charburgx
b275066e23 style: Run stylua 2022-08-17 16:14:47 -05:00
Simrat Grewal
ed6c058eee chore: stylua 2022-08-10 15:29:39 -07:00
FollieHiyuki
d980dbf947 Format with stylua 2022-02-22 22:32:53 +07:00
Simrat Grewal
9d1d404472 fix(providers/markdown): Add multifile support
Fixes #90
2022-02-21 18:14:23 -08:00
simrat39
f4f2b5edfb rework(preview): Ask providers for hover info
Now lsp checks if client supports hover
Addresses #82
2021-11-24 21:44:23 -08:00
simrat39
a0d563172d refactor: Add a generic provider module
In preperation for coc support
2021-10-05 22:46:53 -07:00