Skip to content

Commit 0e1dd2b

Browse files
authored
Add install steps for vim-plug in .vimrc/init.vim (#12)
1 parent 0c5a152 commit 0e1dd2b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Elixir language server extension based on [elixir-ls](https://github.com/elixir-
44

55
## Install
66

7+
### CocInstall
8+
79
1. Make sure you've got `elixir` and `mix` available in `$PATH`.
810

911
2. Inside (neo)vim run this command:
@@ -12,6 +14,16 @@ Elixir language server extension based on [elixir-ls](https://github.com/elixir-
1214
:CocInstall coc-elixir
1315
```
1416

17+
### vim-plug
18+
19+
1. Make sure you've got `elixir`, `mix` and `yarn` available in `$PATH`.
20+
21+
2. Inside your `plug#begin/end` block in your `.vimrc` (vim) or `init.vim` (neovim) file, after `coc.nvim` add:
22+
23+
```
24+
Plug 'amiralies/coc-elixir', {'do': 'yarn install --frozen-lockfile && yarn run build'}
25+
```
26+
1527
## Features
1628
- Go to definition support
1729
- Code completion

0 commit comments

Comments
 (0)