Skip to content

Instantly share code, notes, and snippets.

View toonvanstrijp's full-sized avatar

Toon van Strijp toonvanstrijp

View GitHub Profile
@toonvanstrijp
toonvanstrijp / yamlCompletion.ts
Created November 6, 2019 14:04
yaml-server json7 autocomplete
/*---------------------------------------------------------------------------------------------
* Copyright (c) Red Hat, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import * as Parser from '../parser/jsonParser07';
import { parse as parseYAML } from '../parser/yamlParser07';
import * as Json from 'jsonc-parser';