1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-23 17:15:40 +01:00

Merge pull request #314 from oileurre/patch-1

Fix collisions between lists and emphasis
This commit is contained in:
Anthony Scopatz 2020-06-09 09:28:29 -05:00 committed by GitHub
commit 38a85e3ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,10 +3,6 @@ syntax "Creole" "\.creole$"
# Headers
color magenta "^=.*=$"
# Emphasis
color yellow start="//" end="//"
color brightyellow start="\*\*" end="\*\*"
# Lists
color green "^[#*]+\s.*"
@ -14,7 +10,13 @@ color green "^[#*]+\s.*"
color cyan start="\[\[" end="\]\]"
color cyan start="\{\{" end="\}\}"
# Emphasis
color yellow "//.*//"
color brightyellow "\*\*.*\*\*"
# Pre and tables
color red start="\{\{\{" end="\}\}\}"
color red "\|"
color brightred "\|="
color ,red "\s+$"