From ddaeb41d4d01254db6055dbcb455ec7827376add Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Mon, 12 Jul 2021 12:10:54 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20Fix=20incorrect=20defaults?= =?UTF-8?q?=20#15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/settings/settings.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/settings/settings.ts b/src/settings/settings.ts index bb55090..73abded 100644 --- a/src/settings/settings.ts +++ b/src/settings/settings.ts @@ -3,11 +3,11 @@ export const DEFAULT_SETTINGS: BetterWordCountSettings = { name: "default", statusBarQuery: "{word_count} words {character_count} characters", statusBarAltQuery: - "{files} files {total_words} words {total_characters} characters", + "{file_count} files {total_word_count} words {total_character_count} characters", }, statusBarQuery: "{word_count} words {character_count} characters", statusBarAltQuery: - "{files} files {total_words} words {total_characters} characters", + "{file_count} files {total_word_count} words {total_character_count} characters", countComments: false, collectStats: false, }; @@ -17,12 +17,13 @@ export const PRESETS: PresetOption[] = [ name: "default", statusBarQuery: "{word_count} words {character_count} characters", statusBarAltQuery: - "{files} files {total_words} words {total_characters} characters", + "{file_count} files {total_word_count} words {total_character_count} characters", }, { name: "minimal", statusBarQuery: "w: {word_count} c: {character_count}", - statusBarAltQuery: "f: {files} tw: {total_words} tc: {total_characters}", + statusBarAltQuery: + "f: {file_count} tw: {total_word_count} tc: {total_character_count}", }, { name: "custom", From 9572201b4e680acb9c3038281d013c89750bdfc3 Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Mon, 12 Jul 2021 12:12:29 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=20bump=200.7.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index bea305b..8325a94 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "better-word-count", "name": "Better Word Count", - "version": "0.7.3", + "version": "0.7.4", "description": "Counts the words of selected text in the editor.", "author": "Luke Leppan", "authorUrl": "https://lukeleppan.com", diff --git a/package.json b/package.json index 9b1154d..f67cc1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "better-word-count", - "version": "0.7.3", + "version": "0.7.4", "description": "Counts the words of selected text in the editor.", "main": "main.js", "scripts": {