Skip to content

Commit f51f90e

Browse files
authored
Merge pull request #284 from NaakkaDev/patch-1
Update languageConfiguration.ts
2 parents db2b0b7 + 17bf40b commit f51f90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languageConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ export class LuaLanguageConfiguration implements LanguageConfiguration {
114114
* Matches strings, numbers, and identifiers
115115
*/
116116
private buildWordPattern(): RegExp {
117-
return /((?<=')[^']+(?='))|((?<=")[^"]+(?="))|(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g;
117+
return /((?<=')[^']+(?='))|((?<=")[^"]+(?="))|(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\-\s]+)/g;
118118
}
119119
}

0 commit comments

Comments
 (0)