From 6b377a3b8b502227b2065135f3ed4a5f688b2143 Mon Sep 17 00:00:00 2001 From: chris414862 Date: Wed, 17 Feb 2021 11:19:47 -0600 Subject: [PATCH] Added 'italic' and 'bold italic' highlighting to markdown --- colors/one.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/colors/one.vim b/colors/one.vim index 54747c3..78d4b84 100644 --- a/colors/one.vim +++ b/colors/one.vim @@ -30,7 +30,9 @@ if !exists('g:one_allow_italics') endif let s:italic = '' +let s:bolditalic = '' if g:one_allow_italics == 1 + let s:bolditalic = 'bold,italic' let s:italic = 'italic' endif @@ -691,7 +693,8 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 " Markdown highlighting ---------------------------------------------------{{{ call X('markdownUrl', s:mono_3, '', '') call X('markdownBold', s:hue_6, '', 'bold') - call X('markdownItalic', s:hue_6, '', 'bold') + call X('markdownItalic', s:hue_6, '', s:italic) + call X('markdownBoldItalic', s:hue_6, '', s:bolditalic) call X('markdownCode', s:hue_4, '', '') call X('markdownCodeBlock', s:hue_5, '', '') call X('markdownCodeDelimiter', s:hue_4, '', '')