vim: support multi-word text pronunciations

This commit is contained in:
Reece H. Dunn
2017-06-03 15:52:57 +01:00
parent bd0d550fee
commit a1a5755dcb
+1 -1
View File
@@ -21,7 +21,7 @@ syn region espeaklistFlag contained start="\$" end="[ \t\r\n]" skipwhite nextgr
syn region espeaklistEntryConditional contained start="^[?!]" end="[ \t]" skipwhite nextgroup=espeaklistEntryPhrase,espeaklistEntryWord
syn region espeaklistEntryPhrase contained start="^(" end=")" skipwhite nextgroup=espeaklistEntryPronunciation
syn match espeaklistEntryWord contained "[^ \t\r\n]\+" skipwhite nextgroup=espeaklistEntryPronunciation,espeaklistFlag
syn match espeaklistEntryPronunciation contained "[^ \t\r\n/$!][^ \t\r\n]*" skipwhite nextgroup=espeaklistFlag,espeaklistComment
syn match espeaklistEntryPronunciation contained "[^$/]*" skipwhite nextgroup=espeaklistFlag,espeaklistComment
" Define the default highlighting.
" Only used when an item doesn't have highlighting yet