From d8599f3a140eca7cd14f47e9b64f1ae9d829a0eb Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 16 Mar 2021 16:38:09 +0900 Subject: ui: Syntax highlight code inside markdown popups. --- helix-view/src/theme.rs | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'helix-view/src/theme.rs') 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 = [ -// "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! { -- cgit v1.2.3-70-g09d2