mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-04 05:24:33 +03:00
Add Sublime Text section on the README (#287)
This commit is contained in:
parent
b52ee607f9
commit
31edb5b010
20
README.md
20
README.md
@ -73,6 +73,26 @@ marketplace](https://marketplace.visualstudio.com/items?itemName=DigitalAssetHol
|
||||
|
||||
You can follow the [instructions](https://github.com/moodmosaic/ide-haskell-ghcide#readme) to install with `apm`.
|
||||
|
||||
### Using with Sublime Text
|
||||
|
||||
* Install [LSP](https://packagecontrol.io/packages/LSP)
|
||||
* Press Ctrl+Shift+P or Cmd+Shift+P in Sublime Text and search for *Preferences: LSP Settings*, then paste these settings
|
||||
```
|
||||
{
|
||||
"clients":
|
||||
{
|
||||
"ghcide":
|
||||
{
|
||||
"enabled" : true,
|
||||
"languageId": "haskell",
|
||||
"command" : ["ghcide", "--lsp"],
|
||||
"scopes" : ["source.haskell"],
|
||||
"syntaxes" : ["Packages/Haskell/Haskell.sublime-syntax"]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Using with Emacs
|
||||
|
||||
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).
|
||||
|
Loading…
Reference in New Issue
Block a user