diff options
author | Tomáš Janoušek <tomi@nomi.cz> | 2023-08-15 11:20:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 11:20:47 +0100 |
commit | fe38101db7253e450f67893583d1a5dfeefd9ee5 (patch) | |
tree | b9a1fef7622f9a70a4687b3c2645f924bb8f480d /test/test_floating_preview.vader | |
parent | 951b280bd5665eadd00e22bef7c7ef23cdc57854 (diff) | |
download | ale-fe38101db7253e450f67893583d1a5dfeefd9ee5.zip |
Fix error loading "text" syntax for hover (#4574)
rust-analyzer sometimes returns a hover result with language being
"text", but there's no syntax/text.vim, so this would fail with:
Error detected while processing function <SNR>150_VimOutputCallback[6]..<lambda>8[1]..ale#lsp#HandleMessage[30]..ale#hover#HandleLSPResponse[42]..ale#floating_preview#Show[13]..<SNR>161_VimShow:
line 13:
E484: Cannot open file syntax/text.vim
Only including the file when it actually exists fixes this.
Diffstat (limited to 'test/test_floating_preview.vader')
0 files changed, 0 insertions, 0 deletions