mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
TextMate as one word. Fixes #29058
This commit is contained in:
parent
688df5e5cc
commit
c05c85b45f
|
@ -22,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
Text mate grammar:
|
||||
TextMate grammar:
|
||||
|
||||
Copyright (c) 2014 Darin Morrison
|
||||
|
||||
|
|
|
@ -271,7 +271,7 @@ function _loadColorThemeFromFile(themePath: string, resultRules: ITokenColorizat
|
|||
} else if (typeof tokenColors === 'string') {
|
||||
return _loadSyntaxTokensFromFile(Paths.join(Paths.dirname(themePath), tokenColors), resultRules, {});
|
||||
} else {
|
||||
return TPromise.wrapError(new Error(nls.localize({ key: 'error.invalidformat.tokenColors', comment: ['{0} will be replaced by a path. Values in quotes should not be translated.'] }, "Problem parsing color theme file: {0}. Property 'tokenColors' should be either an array specifying colors or a path to a text mate theme file", themePath)));
|
||||
return TPromise.wrapError(new Error(nls.localize({ key: 'error.invalidformat.tokenColors', comment: ['{0} will be replaced by a path. Values in quotes should not be translated.'] }, "Problem parsing color theme file: {0}. Property 'tokenColors' should be either an array specifying colors or a path to a TextMate theme file", themePath)));
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue