Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit e624719

Browse files
mb720Anrock
authored andcommitted
Update README.md
The changes should make it easier for a newcomer to integrate HIE with Vim. The previous version made me think that I as Vim user had to clone the LanguageClient-neovim repo, when in reality vim-plug works just fine to install the plugin. Using vim-plug is arguably easier than cloning the repo and adding it to the runtime path.
1 parent 58461a0 commit e624719

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ in
360360
}
361361
```
362362

363-
Now open a haskell project with Sublime Text. You should have these features available to you:
363+
Now open a Haskell project with Sublime Text. You should have these features available to you:
364364

365365
1. Errors are underlined in red
366366
2. LSP: Show Diagnostics will show a list of hints and errors
@@ -371,8 +371,8 @@ Now open a haskell project with Sublime Text. You should have these features ava
371371
As above, make sure HIE is installed. These instructions are for using the [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim) client.
372372

373373
#### vim-plug
374-
If you use [vim-plug](https://github.com/junegunn/vim-plug), then you can do this by e.g.
375-
including the following line in the Plug section of your `init.vim`:
374+
If you use [vim-plug](https://github.com/junegunn/vim-plug), then you can do this by e.g.,
375+
including the following line in the Plug section of your `init.vim` or `~/.vimrc`:
376376

377377
```
378378
Plug 'autozimu/LanguageClient-neovim', {
@@ -381,10 +381,10 @@ Plug 'autozimu/LanguageClient-neovim', {
381381
\ }
382382
```
383383

384-
and issuing a `:PlugInstall` command within neovim.
384+
and issuing a `:PlugInstall` command within Neovim or Vim.
385385

386-
#### Vim 8.0
387-
Clone [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim)
386+
#### Clone the LanguageClient-neovim repo
387+
As an alternative to using [vim-plug](https://github.com/junegunn/vim-plug) shown above, clone [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim)
388388
into `~/.vim/pack/XXX/start/`, where `XXX` is just a name for your "plugin suite".
389389

390390
#### Sample `~/.vimrc`

0 commit comments

Comments
 (0)