Skip to content

Commit

Permalink
Use global json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jamebus committed Dec 28, 2024
1 parent c54c37a commit 2864913
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/repository.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config-1.json
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config.json
#
# Warning: This file is managed by pag(1) and will be overwritten during a
# configure operation
Expand Down
2 changes: 1 addition & 1 deletion profiles.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $user_config_dir := or .Env.PAGPAPANATILI_USER_CONFIG_DIR (print .Env.HOME "/.pagpapanatili") -}}
---
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config-1.json
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config.json

version: "1"

Expand Down
2 changes: 1 addition & 1 deletion profiles/common.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $user_config_dir := or .Env.PAGPAPANATILI_USER_CONFIG_DIR (print .Env.HOME "/.pagpapanatili") -}}
---
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config-1.json
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config.json

version: "1"

Expand Down
2 changes: 1 addition & 1 deletion profiles/currentdir.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config-1.json
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config.json

version: "1"

Expand Down
2 changes: 1 addition & 1 deletion profiles/home.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ $relativehome := .Env.HOME | replaceR "^/(.+)" "$1" -}}
{{ $snapshot_mountpoint := print .TempDir "resticprofile-" .Env.USER "-" .Profile.Name "-snapshot" -}}
---
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config-1.json
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config.json

version: "1"

Expand Down

0 comments on commit 2864913

Please sign in to comment.