Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b0036d1

Browse files
authored
Merge pull request #46 from Petercopter/haml-setup
Haml Setup
2 parents cddcb6e + 7a1b977 commit b0036d1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"vscode": "^1.68.0"
1919
},
2020
"activationEvents": [
21+
"onLanguage:haml",
2122
"onLanguage:ruby",
2223
"workspaceContains:Gemfile.lock",
2324
"onCommand:syntaxTree.start",

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export async function activate(context: ExtensionContext) {
134134
// responsible for the communication and management of the Ruby subprocess.
135135
languageClient = new LanguageClient("Syntax Tree", { run, debug: run }, {
136136
documentSelector: [
137+
{ scheme: "file", language: "haml" },
137138
{ scheme: "file", language: "ruby" },
138139
],
139140
outputChannel

0 commit comments

Comments
 (0)