Commit Graph

20 Commits

Author SHA1 Message Date
hedy
782e7cb18b Don't use h3 header for 'No info' message
Not sure what the point here is since there isn't anything beneath the
header anyway.
2023-11-01 15:37:17 +08:00
hedy
f7fc1905a4 fix(preview): Empty symbol preview
Fix simrat39/symbols-outline.nvim#176

I was going to pull @enddeadroyal's commit from their
'bugfix/symbol-hover-misplacement' branch in their fork but they changed
indentation so I had to apply the relevant changes myself instead.

However, credits for this fix goes to @enddeadroyal from the issue
commit in 176.

Also fixed the "No info available" markdown as it wasn't rendering
properly for me without a space after the '###'.
2023-11-01 15:33:26 +08:00
Simrat Grewal
47cbb20f52 feat: Bring back auto_preview 2022-08-15 14:59:40 -07:00
Simrat Grewal
776ddb3930 feat(parser): Flatten outline items while parsing
* Removes the need for flatten_outline_items
* Improves performance
2022-08-15 14:31:19 -07:00
Simrat Grewal
197a9aa45f refactor: Remove utils.request shim
* This is no longer needed as people have probably moved on from 0.5
2022-08-10 16:58:24 -07:00
Simrat Grewal
ed6c058eee chore: stylua 2022-08-10 15:29:39 -07:00
Andrew
f7946bd254 feat: winblend 2022-03-13 01:36:17 +11:00
FollieHiyuki
d980dbf947 Format with stylua 2022-02-22 22:32:53 +07:00
FollieHiyuki
01be703f33 Make border style configurable 2022-02-08 18:02:24 +07: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
1ef3b66db8 feat: Allow customizing preview window background
Closes #64
2021-09-21 19:24:26 -07:00
Omar Zeghouani
962ad42512 chore: adapt lsp request handler for nvim >= 0.5.1
https://github.com/neovim/neovim/pull/15504
2021-09-07 11:55:46 +01:00
Omar Zeghouani
78b4f20b39 Simplify preview toggle 2021-08-21 10:17:12 +01:00
simrat39
af491baebd preview: toggle: Dont use global variable 2021-08-20 19:11:48 -07:00
Omar Zeghouani
23f1299869 Add toggle functionality
- Ensure that preview window always closes on symbol window exit
2021-08-20 20:25:22 +01:00
simrat39
72c3d49cc6 preview: Disable cursorline on hover info 2021-07-13 15:43:37 -07:00
simrat39
43377f14ca preview: Use proper markdown stylizing 2021-07-13 15:40:19 -07:00
simrat39
a100b51b23 feat: Allow setting line numbers / relative numbers
Closes #31
2021-06-22 19:59:49 -07:00
simrat39
c6318d9279 feat(preview): Use treesitter for highlighting if possible
Closes #27
2021-06-14 15:55:35 -07:00
simrat39
e9adda47f3 feat(auto_preview): Experimental auto preview and auto hover support
#10
2021-05-02 17:49:18 -07:00