Commit Graph

9 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
geekifan
100b02f751 fix(coc.lua): no hierarchy when using coc.nvim 2022-10-15 19:17:27 +08:00
Simrat Grewal
f33bdb4be9 misc: formatting 2022-08-15 14:08:28 -07: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
0347928385 fix(providers/coc): Check for coc_service_initialized
#85
2021-12-08 17:08:42 -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
a1bbef84b7 fix(coc): Fix COC installed check
Fixes #70
2021-10-06 14:22:18 -07:00
simrat39
042c8466a2 feat(providers): Inital COC support
Closes #68
Still needs support for code actions/hover/rename etc
2021-10-06 12:58:44 -07:00