Grey out "strike through" text

This commit is contained in:
Alex Vear
2020-05-02 21:04:50 +01:00
parent 315733a7ed
commit 211e1b40ba
2 changed files with 3 additions and 2 deletions

3
TODO
View File

@@ -3,10 +3,9 @@ MAYBE:
- Separate syntax group for heading delimiters - Separate syntax group for heading delimiters
- Syntax highlight and indent properties - Syntax highlight and indent properties
- Hightlight concealed TeX the same as normal text - 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. - 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) - 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) - Set a max number of lines to search for end delimiter for bold/italic/etc. to 3 (might not be possible)
UNLIKELY: UNLIKELY:

View File

@@ -34,6 +34,8 @@ highlight def orgUnderline term=underline cterm=underline gui=underline
highlight def link orgBoldDelimiter orgBold highlight def link orgBoldDelimiter orgBold
highlight def link orgUnderlineDelimiter orgUnderline highlight def link orgUnderlineDelimiter orgUnderline
highlight def link orgStrikethrough Ignore
highlight def link orgStrikethroughDelimiter orgStrikethrough
" Options " Options
syntax match orgOption /^\s*#+\w\+.*$/ keepend syntax match orgOption /^\s*#+\w\+.*$/ keepend