Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: doc to install coc plugin with vim-plug #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/coc-import-cost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Once you have `coc.nvim` installed, open Vim/Neovim, and execute:
:CocInstall coc-import-cost
```

If you are using some plugin manager like [vim-plug][vim-plug] then add
following line to your vim/nvim configuration file:

```
Plug 'wix/import-cost', { 'do': 'npm install', 'rtp': 'packages/coc-import-cost' }
```

You'll also need to enable the code lens feature in coc (`:CocConfig`):
```
"codeLens.enable": true
Expand Down Expand Up @@ -67,3 +74,5 @@ The following properties are configurable:
## Known Issues

* Importing two libraries with a common dependency will show the size of both libraries isolated from each other, even if the common library needs to be imported only once.

[vim-plug]: https://github.com/junegunn/vim-plug