mirror of
https://github.com/dnlbauer/obsidian-dataview-autocompletion.git
synced 2026-09-11 14:45:30 +00:00
chore: more sane line wraps in prettier
This commit is contained in:
12
src/main.ts
12
src/main.ts
@@ -32,11 +32,7 @@ export default class DataviewAutocompletePlugin extends Plugin {
|
||||
// @ts-ignore
|
||||
"dataview:metadata-change",
|
||||
(type: string, file: TFile, oldPath?: string) => {
|
||||
this.suggester.onDataviewMetadataChange(
|
||||
type,
|
||||
file,
|
||||
oldPath,
|
||||
);
|
||||
this.suggester.onDataviewMetadataChange(type, file, oldPath);
|
||||
},
|
||||
),
|
||||
);
|
||||
@@ -45,11 +41,7 @@ export default class DataviewAutocompletePlugin extends Plugin {
|
||||
onunload() {}
|
||||
|
||||
async loadSettings() {
|
||||
this.settings = Object.assign(
|
||||
{},
|
||||
DEFAULT_SETTINGS,
|
||||
await this.loadData(),
|
||||
);
|
||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
||||
}
|
||||
|
||||
async saveSettings() {
|
||||
|
||||
Reference in New Issue
Block a user