You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(GH-1413) Update grammar parsing for vscode-textmate v4 module (#1414)
* (maint) Add a logging interface
Previously the logging object had no interface which made testing difficult.
This commit adds a new interface which new features can use, which makes mocking
the logging object possible.
* (GH-1413) Update grammar parsing for vscode-textmate v4 module
VS Code 1.25 has updated the imported vsode-textmate module from v3 to v4, which
introduced some breaking changes. This commit updates the grammar loader;
* Uses a thenable grammar parser, as V4 of the module is all asynchronous
* Uses a simple method detection technique on the Registry object to determine
if we're using v3 or v4+ of the textmate module, and then branch the code
accordingly.
Note that this functionality can only be tested manually due to how the
vscode-textmate module is incorporated into VSCode and the test-suite.
* Update Folding.ts
Add newline between copyright header and body
0 commit comments