Skip to content

Commit

Permalink
set default template to code "{{vaultpath}}" - fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
NomarCub committed Sep 2, 2021
1 parent d6c09fb commit ee60435
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ interface OpenVSCodeSettings {
const DEFAULT_SETTINGS: OpenVSCodeSettings = {
ribbonIcon: true,
useURL: false,
executeTemplate: "code {{vaultpath}}",
executeTemplate: "code \"{{vaultpath}}\"",
}

class OpenVSCodeSettingsTab extends PluginSettingTab {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "open-vscode",
"name": "Open vault in VSCode",
"version": "1.1.0",
"version": "1.1.1",
"minAppVersion": "0.11.13",
"description": "Ribbon button and command to open vault as a Visual Studio Code workspace",
"author": "NomarCub",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-vscode",
"version": "1.1.0",
"version": "1.1.1",
"description": "Open vault in Visual Studio Code ribbon button and command for Obsidian (https://obsidian.md)",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit ee60435

Please sign in to comment.