aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands
diff options
context:
space:
mode:
authorAlex2022-02-21 07:45:48 +0000
committerGitHub2022-02-21 07:45:48 +0000
commitd5ba0b516263f08116c43eb0796b1027b094dabd (patch)
tree0965f9fdbf2c7da1d6217c154d364c7eaa210507 /helix-term/src/commands
parent700058f433d0d12b30b968d50cd7f9b93f983107 (diff)
Allow separate styles for markup headings (#1618)
* update markdown highlighting to use separate heading themes * remove markdown theme scopes in ui
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r--helix-term/src/commands/lsp.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs
index 255d545c..af11cd4e 100644
--- a/helix-term/src/commands/lsp.rs
+++ b/helix-term/src/commands/lsp.rs
@@ -632,8 +632,7 @@ pub fn hover(cx: &mut Context) {
// skip if contents empty
- let contents =
- ui::Markdown::new(contents, editor.syn_loader.clone()).style_group("hover");
+ let contents = ui::Markdown::new(contents, editor.syn_loader.clone());
let popup = Popup::new("hover", contents);
compositor.replace_or_push("hover", Box::new(popup));
}