File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ syn match purescriptTypeAliasStart "^type\s\+\([A-Z]\w*\)" contained
138138
139139" String
140140syn match purescriptChar " '[^'\\ ]'\| '\\ .'\| '\\ u[0-9a-fA-F]\{ 4}'"
141- syn region purescriptString start =+ "+ skip =+ \\\\\|\\ "+ end =+ "+
142- syn region purescriptMultilineString start =+ """+ end =+ """+ fold
141+ syn region purescriptString start =+ "+ skip =+ \\\\\|\\ "+ end =+ "+ contains = @Spell
142+ syn region purescriptMultilineString start =+ """+ end =+ """+ fold contains = @Spell
143143
144144" Comment
145- syn match purescriptLineComment " ---*\( [^-!#$%&\*\+ ./<=>\? @\\ ^|~].*\)\? $"
145+ syn match purescriptLineComment " ---*\( [^-!#$%&\*\+ ./<=>\? @\\ ^|~].*\)\? $" contains = @Spell
146146syn region purescriptBlockComment start =" {-" end =" -}" fold
147- \ contains= purescriptBlockComment
148- syn cluster purescriptComment contains =purescriptLineComment,purescriptBlockComment
147+ \ contains= purescriptBlockComment, @S pell
148+ syn cluster purescriptComment contains =purescriptLineComment,purescriptBlockComment,@Spell
149149
150150syn sync minlines =50
151151
You can’t perform that action at this time.
0 commit comments