From 68ce689449a83f2ae3fcabf99fa427f9a3cdebcc Mon Sep 17 00:00:00 2001 From: Gary Holtz Date: Mon, 12 Sep 2022 10:26:51 -0500 Subject: [PATCH] Adding a very simple projectionist config --- .gitignore | 3 +++ .projections.json.example | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .projections.json.example diff --git a/.gitignore b/.gitignore index 107429ff..1fe982e7 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,6 @@ log.txt.glab-cli # goreleaser struggled with this file being generated during the release build cyclonedx-go-go.json + +# projectionist.vim +.projections.json diff --git a/.projections.json.example b/.projections.json.example new file mode 100644 index 00000000..7279eaed --- /dev/null +++ b/.projections.json.example @@ -0,0 +1,10 @@ +{ + "*.go": { + "alternate": "{}_test.go", + "type": "source" + }, + "*_test.go": { + "alternate": "{}.go", + "type": "test" + } +}