mirror of
https://github.com/friebetill/obsidian-file-diff.git
synced 2026-07-22 07:40:25 +00:00
Remove file-diff prefix of commands
Obsidian will automatically prefix the command id with the plugin id, we don't need to do it ourself.
This commit is contained in:
parent
705176ef6b
commit
dee8138564
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ export default class FileDiffPlugin extends Plugin {
|
|||
|
||||
onload(): void {
|
||||
this.addCommand({
|
||||
id: 'file-diff',
|
||||
id: 'compare',
|
||||
name: 'Compare',
|
||||
editorCallback: async () => {
|
||||
// Get current active file
|
||||
|
|
@ -38,7 +38,7 @@ export default class FileDiffPlugin extends Plugin {
|
|||
})
|
||||
|
||||
this.addCommand({
|
||||
id: 'file-diff-merge',
|
||||
id: 'compare-and-merge',
|
||||
name: 'Compare and merge',
|
||||
editorCallback: async () => {
|
||||
// Show warning when this option is selected for the first time
|
||||
|
|
|
|||
Loading…
Reference in a new issue