Expand newlines

Co-authored-by: Jacob Wallraff <[email protected]>
This commit is contained in:
Christopher Schleiden
2023-03-01 08:19:17 -08:00
committed by GitHub
co-authored by Jacob Wallraff
parent a93db03989
commit 6bbd3dda95
+6 -1
View File
@@ -57,7 +57,12 @@ import {complete} from "@actions/languageservice";
const document = {
uri: "file:///path/to/file",
getText: () => "on: \n jobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - run: echo hello"
getText: () => `on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo hello`
};
// Trigger completion for `on: |`