We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6231e68 commit b1346a6Copy full SHA for b1346a6
src/@types/index.d.ts
@@ -118,6 +118,7 @@ declare module "obsidian" {
118
settings?: {
119
supportCanceledTasks: boolean;
120
incompleteTaskValues: string;
121
+ onlyLowercaseX: boolean;
122
};
123
124
src/snippetor-Snippetor.ts
@@ -32,7 +32,11 @@ export class Snippetor {
32
if (tcPlugin.taskCollector.settings.supportCanceledTasks) {
33
values += "-";
34
}
35
- return new Set((values + "xX").replace(" ", "").split(""));
+ values += "x";
36
+ if (!tcPlugin.taskCollector.settings.onlyLowercaseX) {
37
+ values += "X";
38
+ }
39
+ return new Set(values.replace(" ", "").split(""));
40
41
return new Set(["x", "-", ">"]);
42
0 commit comments