diff --git a/TODO b/TODO index 70ab4cb..2d6ad37 100644 --- a/TODO +++ b/TODO @@ -3,10 +3,9 @@ MAYBE: - Separate syntax group for heading delimiters - Syntax highlight and indent properties - Hightlight concealed TeX the same as normal text - - TeX math fragments in bold, italic, etc. text - Close inline block using same number of starting delimiters. - - Grey out strikethrough text. - Try to get text attributes to stack (e.g. underlined text in bold text) + - TeX math fragments in bold, italic, etc. text - Set a max number of lines to search for end delimiter for bold/italic/etc. to 3 (might not be possible) UNLIKELY: diff --git a/syntax/org.vim b/syntax/org.vim index 9a7a0f0..3dfd5f3 100644 --- a/syntax/org.vim +++ b/syntax/org.vim @@ -34,6 +34,8 @@ highlight def orgUnderline term=underline cterm=underline gui=underline highlight def link orgBoldDelimiter orgBold highlight def link orgUnderlineDelimiter orgUnderline +highlight def link orgStrikethrough Ignore +highlight def link orgStrikethroughDelimiter orgStrikethrough " Options syntax match orgOption /^\s*#+\w\+.*$/ keepend