tslint check
This commit is contained in:
parent
7518a98b2d
commit
9b82da7545
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ import {
|
||||||
} from 'vscode';
|
} from 'vscode';
|
||||||
const lang = require('./data/languages.json');
|
const lang = require('./data/languages.json');
|
||||||
|
|
||||||
const knownExtentions: { [x: string]: {image: string}} = lang.knownExtentions;
|
const knownExtentions: { [x: string]: { image: string } } = lang.knownExtentions;
|
||||||
const knownLanguages: string[] = lang.knownLanguages;
|
const knownLanguages: string[] = lang.knownLanguages;
|
||||||
|
|
||||||
// Define the RPC variable and its type.
|
// Define the RPC variable and its type.
|
||||||
|
@ -245,7 +245,7 @@ function setActivity(workspaceElapsedTime: boolean = false): void {
|
||||||
|| largeImageKey
|
|| largeImageKey
|
||||||
: 'txt',
|
: 'txt',
|
||||||
largeImageText: window.activeTextEditor
|
largeImageText: window.activeTextEditor
|
||||||
? config.get('largeImage').replace('{lang}', largeImageKey ? largeImageKey.image || largeImageKey : "txt").replace('{LANG}', largeImageKey ? (largeImageKey.image || largeImageKey).toUpperCase() : "TXT")
|
? config.get('largeImage').replace('{lang}', largeImageKey ? largeImageKey.image || largeImageKey : 'txt').replace('{LANG}', largeImageKey ? (largeImageKey.image || largeImageKey).toUpperCase() : 'TXT')
|
||||||
|| window.activeTextEditor.document.languageId.padEnd(2, '\u200b')
|
|| window.activeTextEditor.document.languageId.padEnd(2, '\u200b')
|
||||||
: config.get('largeImageIdle'),
|
: config.get('largeImageIdle'),
|
||||||
smallImageKey: debug.activeDebugSession
|
smallImageKey: debug.activeDebugSession
|
||||||
|
|
Loading…
Reference in a new issue