Merge branch 'hotfix/0.7.4' into develop

This commit is contained in:
Luke Leppan 2021-07-12 12:12:48 +02:00
commit e7160bbee9
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{ {
"id": "better-word-count", "id": "better-word-count",
"name": "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.", "description": "Counts the words of selected text in the editor.",
"author": "Luke Leppan", "author": "Luke Leppan",
"authorUrl": "https://lukeleppan.com", "authorUrl": "https://lukeleppan.com",

View file

@ -1,6 +1,6 @@
{ {
"name": "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.", "description": "Counts the words of selected text in the editor.",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View file

@ -3,11 +3,11 @@ export const DEFAULT_SETTINGS: BetterWordCountSettings = {
name: "default", name: "default",
statusBarQuery: "{word_count} words {character_count} characters", statusBarQuery: "{word_count} words {character_count} characters",
statusBarAltQuery: 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", statusBarQuery: "{word_count} words {character_count} characters",
statusBarAltQuery: statusBarAltQuery:
"{files} files {total_words} words {total_characters} characters", "{file_count} files {total_word_count} words {total_character_count} characters",
countComments: false, countComments: false,
collectStats: false, collectStats: false,
}; };
@ -17,12 +17,13 @@ export const PRESETS: PresetOption[] = [
name: "default", name: "default",
statusBarQuery: "{word_count} words {character_count} characters", statusBarQuery: "{word_count} words {character_count} characters",
statusBarAltQuery: statusBarAltQuery:
"{files} files {total_words} words {total_characters} characters", "{file_count} files {total_word_count} words {total_character_count} characters",
}, },
{ {
name: "minimal", name: "minimal",
statusBarQuery: "w: {word_count} c: {character_count}", 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", name: "custom",