Skip to content

Commit ce396ea

Browse files
authored
Merge pull request #8 from arduino/support-pde
Document selector for .pde files.
2 parents 2e70114 + 2e27319 commit ce396ea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
".c",
8686
".cpp",
8787
".h",
88-
".hpp"
88+
".hpp",
89+
".pde"
8990
],
9091
"configuration": "./languages/ino.language-configuration.json"
9192
}

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ async function buildLanguageClient(config: LanguageServerConfig): Promise<Langua
191191
},
192192
{
193193
initializationOptions: {},
194-
documentSelector: ['ino', 'c', 'cpp', 'h', 'hpp'],
194+
documentSelector: ['ino', 'c', 'cpp', 'h', 'hpp', 'pde'],
195195
uriConverters: {
196196
code2Protocol: (uri: vscode.Uri): string => (uri.scheme ? uri : uri.with({ scheme: 'file' })).toString(),
197197
protocol2Code: (uri: string) => vscode.Uri.parse(uri)

0 commit comments

Comments
 (0)