coc-tsserver/src/utils/fileSchemes.ts
2022-08-27 12:28:53 +08:00

27 lines
815 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export const file = 'file'
export const untitled = 'untitled'
export const git = 'git'
export const fugitive = 'fugitive'
/** Live share scheme */
export const vsls = 'vsls'
export const walkThroughSnippet = 'walkThroughSnippet'
export const semanticSupportedSchemes = [
file,
untitled,
walkThroughSnippet,
]
/**
* File scheme for which JS/TS language feature should be disabled
*/
export const disabledSchemes = new Set([
git,
fugitive,
vsls
])