We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b6b23 commit ac1d156Copy full SHA for ac1d156
src/index.ts
@@ -597,7 +597,7 @@ function getSchemaAssociations(): ISchemaAssociation[] {
597
const associations: ISchemaAssociation[] = []
598
if (resolveJson) {
599
let home = path.normalize(process.env.COC_VIMCONFIG) ?? path.join(os.homedir(), '.vim')
600
- let userConfigFile = URI.file(path.join(home, 'coc-settings.json')).fsPath
+ let userConfigFile = URI.file(path.join(home, 'coc-settings.json')).fsPath.split(path.win32.sep).join(path.posix.sep)
601
associations.push({ fileMatch: [userConfigFile], uri: 'vscode://schemas/settings/user' })
602
associations.push({ fileMatch: ['coc-settings.json', `!${userConfigFile}`], uri: 'vscode://schemas/settings/folder' })
603
} else {
0 commit comments