Browse Source

fix: highlight of phrase rules in vim (#2174)

master
Fabio Lima 1 month ago
parent
commit
7dcfa23f6d
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      vim/syntax/espeaklist.vim

+ 2
- 2
vim/syntax/espeaklist.vim View File

@@ -20,8 +20,8 @@ syn region espeaklistComment contained start="//" end="$" keepend contains=@Spe
syn region espeaklistFlag contained start="\$" end="[ \t\r\n]" skipwhite nextgroup=espeaklistFlag,espeaklistComment

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 region espeaklistEntryPhrase contained start="(" end=")" skipwhite nextgroup=espeaklistEntryPronunciation,espeaklistFlag
syn match espeaklistEntryWord contained "[^ \t\r\n()]\+" skipwhite nextgroup=espeaklistEntryPronunciation,espeaklistFlag
syn match espeaklistEntryPronunciation contained "[^$/]*" skipwhite nextgroup=espeaklistFlag,espeaklistComment

" Define the default highlighting.

Loading…
Cancel
Save