mirror of
https://github.com/scopatz/nanorc
synced 2024-11-24 01:25:39 +01:00
Merge pull request #314 from oileurre/patch-1
Fix collisions between lists and emphasis
This commit is contained in:
commit
38a85e3ea4
@ -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…
Reference in New Issue
Block a user