aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-16 07:38:09 +0000
committerBlaž Hrastnik2021-03-16 07:38:09 +0000
commitd8599f3a140eca7cd14f47e9b64f1ae9d829a0eb (patch)
tree04053d630586d8998c46fb774123d4ea8aafe1cc /helix-view/src
parent54a7e893b704b268f7d9d8b4692d3722db6a98df (diff)
ui: Syntax highlight code inside markdown popups.
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/theme.rs28
1 files changed, 0 insertions, 28 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs
index 0efd329c..b200fa0e 100644
--- a/helix-view/src/theme.rs
+++ b/helix-view/src/theme.rs
@@ -88,34 +88,6 @@ pub struct Theme {
mapping: HashMap<&'static str, Style>,
}
-// let highlight_names: Vec<String> = [
-// "attribute",
-// "constant.builtin",
-// "constant",
-// "function.builtin",
-// "function.macro",
-// "function",
-// "keyword",
-// "operator",
-// "property",
-// "punctuation",
-// "comment",
-// "escape",
-// "label",
-// // "punctuation.bracket",
-// "punctuation.delimiter",
-// "string",
-// "string.special",
-// "tag",
-// "type",
-// "type.builtin",
-// "constructor",
-// "variable",
-// "variable.builtin",
-// "variable.parameter",
-// "path",
-// ];
-
impl Default for Theme {
fn default() -> Self {
let mapping = hashmap! {