update-grammar.js 608 B

12345678910111213
  1. /*---------------------------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Licensed under the MIT License. See License.txt in the project root for license information.
  4. *--------------------------------------------------------------------------------------------*/
  5. 'use strict';
  6. var updateGrammar = require('vscode-grammar-updater');
  7. async function updateGrammars() {
  8. await updateGrammar.update('textmate/yaml.tmbundle', 'Syntaxes/YAML.tmLanguage', './syntaxes/yaml.tmLanguage.json', undefined);
  9. }
  10. updateGrammars();