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 '###'.
This commit is contained in:
hedy
2023-11-01 15:33:26 +08:00
parent d2f0a4af6a
commit f7fc1905a4
2 changed files with 3 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ keep this list up to date.
- Feat: when `auto_close=true` only auto close if `goto_location` is used (where
focus changed), and not for `focus_location` (simrat39/symbols-outline.nvim#119)
- Fix symbol preview (simrat39/symbols-outline.nvim#176)
- Fix `SymbolsOutlineClose` crashing when already closed: simrat39/symbols-outline.nvim#163
- Support Nerd fonts v3.0: simrat39/symbols-outline.nvim#225
- Fix newlines in symbols crash: simrat39/symbols-outline.nvim#204 (simrat39/symbols-outline.nvim#184)