mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
vim: support multi-word text pronunciations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user