Skip to content

Commit 31edb5b

Browse files
moodmosaicaherrmann-da
authored andcommitted
Add Sublime Text section on the README (#287)
1 parent b52ee60 commit 31edb5b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,26 @@ marketplace](https://marketplace.visualstudio.com/items?itemName=DigitalAssetHol
7373

7474
You can follow the [instructions](https://github.com/moodmosaic/ide-haskell-ghcide#readme) to install with `apm`.
7575

76+
### Using with Sublime Text
77+
78+
* Install [LSP](https://packagecontrol.io/packages/LSP)
79+
* Press Ctrl+Shift+P or Cmd+Shift+P in Sublime Text and search for *Preferences: LSP Settings*, then paste these settings
80+
```
81+
{
82+
"clients":
83+
{
84+
"ghcide":
85+
{
86+
"enabled" : true,
87+
"languageId": "haskell",
88+
"command" : ["ghcide", "--lsp"],
89+
"scopes" : ["source.haskell"],
90+
"syntaxes" : ["Packages/Haskell/Haskell.sublime-syntax"]
91+
}
92+
}
93+
}
94+
```
95+
7696
### Using with Emacs
7797

7898
If you don't already have [MELPA](https://melpa.org/#/) package installation configured, visit MELPA [getting started](https://melpa.org/#/getting-started) page to get set up. Then, install [`use-package`](https://melpa.org/#/use-package).

0 commit comments

Comments
 (0)