Skip to content

Commit

Permalink
Changed the default setting path and update the configuration setting…
Browse files Browse the repository at this point in the history
… in the client
  • Loading branch information
JPinkney committed Jun 13, 2017
1 parent 4557e11 commit ccaeb0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"type": [
"string"
],
"default": "**/.clientrc",
"default": "",
"description": "Specifies the glob that will be used when validating yaml files as k8s"
}
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export function activate(context: ExtensionContext) {
documentSelector: ['yaml'],
synchronize: {
// Synchronize the setting section 'languageServerExample' to the server
configurationSection: 'yaml',
configurationSection: 'k8s',
// Notify the server about file changes to '.clientrc files contain in the workspace
fileEvents: workspace.createFileSystemWatcher('**/.clientrc')
fileEvents: workspace.createFileSystemWatcher("**/*.yaml")
}
}

Expand Down

0 comments on commit ccaeb0b

Please sign in to comment.