Commit Graph

17 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
hedy
c19b3bd571 feat: Add show_status 2023-11-01 21:09:06 +08:00
geekifan
b175dccd59 fix(coc.lua): no hierarchy when using coc.nvim 2023-01-25 14:34:26 -08:00
charburgx
e4b97468ab feat: Merge JSX symbols into lsp tree 2022-09-14 21:26:27 -05:00
charburgx
b275066e23 style: Run stylua 2022-08-17 16:14:47 -05:00
Simrat Grewal
fb4962bf45 fix(provider): Handle tree-sitter not being installed or parser not installed 2022-08-15 20:28:59 -07: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
charburgx
2e79953f7e feat(providers): jsx provider 2022-07-14 01:46:59 -05: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
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
552b67993e fix(providers/nvim-lsp): ipairs -> pairs
ipairs should only be used for lists
2021-10-21 16:52:07 -07: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
simrat39
a0d563172d refactor: Add a generic provider module
In preperation for coc support
2021-10-05 22:46:53 -07:00