mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Fix collisions between lists and emphasis
This commit is contained in:
parent
a3e85b9271
commit
71c21911c4
1 changed files with 6 additions and 4 deletions
|
|
@ -3,10 +3,6 @@ syntax "Creole" "\.creole$"
|
||||||
# Headers
|
# Headers
|
||||||
color magenta "^=.*=$"
|
color magenta "^=.*=$"
|
||||||
|
|
||||||
# Emphasis
|
|
||||||
color yellow start="//" end="//"
|
|
||||||
color brightyellow start="\*\*" end="\*\*"
|
|
||||||
|
|
||||||
# Lists
|
# Lists
|
||||||
color green "^[#*]+\s.*"
|
color green "^[#*]+\s.*"
|
||||||
|
|
||||||
|
|
@ -14,7 +10,13 @@ color green "^[#*]+\s.*"
|
||||||
color cyan start="\[\[" end="\]\]"
|
color cyan start="\[\[" end="\]\]"
|
||||||
color cyan start="\{\{" end="\}\}"
|
color cyan start="\{\{" end="\}\}"
|
||||||
|
|
||||||
|
# Emphasis
|
||||||
|
color yellow "//.*//"
|
||||||
|
color brightyellow "\*\*.*\*\*"
|
||||||
|
|
||||||
# Pre and tables
|
# Pre and tables
|
||||||
color red start="\{\{\{" end="\}\}\}"
|
color red start="\{\{\{" end="\}\}\}"
|
||||||
color red "\|"
|
color red "\|"
|
||||||
color brightred "\|="
|
color brightred "\|="
|
||||||
|
|
||||||
|
color ,red "\s+$"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue