Skip to content

Commit 040e12c

Browse files
committed
enable lsp for notebook
1 parent ffdef03 commit 040e12c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v2.1.1
4+
5+
- Enable LSP for notebook
6+
37
## v2.1.0
48

59
- Notebooks supports several outputs mimetype

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Highlighting, Auto-completion, Execution, ...",
55
"author": "Benoît Verhaeghe",
66
"license": "MIT",
7-
"version": "2.1.0",
7+
"version": "2.1.1",
88
"icon": "icon.png",
99
"repository": {
1010
"type": "git",

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ function createPharoLanguageServer(requirements: requirements.RequirementsData,
228228
// Register the server for plain text documents
229229
documentSelector: [
230230
{ scheme: 'file', language: 'pharo' },
231-
{ scheme: 'pharoImage', language: 'pharo' }
231+
{ scheme: 'pharoImage', language: 'pharo' },
232+
{ notebook: 'moosebook', language: 'pharo' }
232233
],
233234
synchronize: {
234235
// Notify the server about file changes to '.clientrc files contained in the workspace

0 commit comments

Comments
 (0)