Highlight hover code blocks as LSP's own language by default
The elixir LSP does not include a language name on its elixir code blocks.
This commit is contained in:
parent
e8479f23f9
commit
72372ddf0e
3 changed files with 53 additions and 42 deletions
|
@ -359,6 +359,7 @@ pub enum HoverBlockKind {
|
|||
pub struct Hover {
|
||||
pub contents: Vec<HoverBlock>,
|
||||
pub range: Option<Range<language::Anchor>>,
|
||||
pub language: Option<Arc<Language>>,
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue