Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
- (maint) Improve issue templates
- ([GH-241](https://github.com/lingua-pupuli/puppet-vscode/issues/241)) Honor specified tcp port
- ([GH-240](https://github.com/lingua-pupuli/puppet-vscode/issues/240)) Add TCP retry functionality
- ([GH-296](https://github.com/lingua-pupuli/puppet-vscode/issues/296)) Set document file scheme

## 0.10.0 - 2018-03-29

Expand Down
3 changes: 2 additions & 1 deletion src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { PuppetLanguageClient } from './PuppetLanguageClient';
import { ConnectionConfiguration } from './configuration';

const langID = 'puppet'; // don't change this
const documentSelector = { scheme: 'file', language: langID };

export interface IConnectionManager {
status: ConnectionStatus;
Expand Down Expand Up @@ -308,7 +309,7 @@ export class ConnectionManager implements IConnectionManager {

this.logger.debug('Configuring language server client options');
let clientOptions: LanguageClientOptions = {
documentSelector: [langID]
documentSelector: [documentSelector]
};

this.puppetLanguageClient = new PuppetLanguageClient(
Expand Down