We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db2b0b7 + 17bf40b commit f51f90eCopy full SHA for f51f90e
src/languageConfiguration.ts
@@ -114,6 +114,6 @@ export class LuaLanguageConfiguration implements LanguageConfiguration {
114
* Matches strings, numbers, and identifiers
115
*/
116
private buildWordPattern(): RegExp {
117
- return /((?<=')[^']+(?='))|((?<=")[^"]+(?="))|(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g;
+ return /((?<=')[^']+(?='))|((?<=")[^"]+(?="))|(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\-\s]+)/g;
118
}
119
0 commit comments