initial commit
This commit is contained in:
commit
4037e24558
11 changed files with 420 additions and 0 deletions
36
readme.md
Normal file
36
readme.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# import-cost.nvim
|
||||
|
||||
Display the costs of javascript imports inside neovim with the power of
|
||||
[import-cost](https://github.com/wix/import-cost)
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
1. Install regularly with your package manager
|
||||
2. Run the install script inside the directory:
|
||||
|
||||
```sh
|
||||
sh install.sh
|
||||
```
|
||||
|
||||
Example configuration with [packer.nvim](https://github.com/wbthomason/packer.nvim):
|
||||
|
||||
```lua
|
||||
use {
|
||||
'barrett-ruth/import-cost.nvim',
|
||||
run = 'sh install.sh'
|
||||
}
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
```lua
|
||||
require('import-cost').setup(opts)
|
||||
```
|
||||
|
||||
See `:h import-cost` for more information
|
||||
|
||||
## TODO
|
||||
|
||||
- Automatic setup
|
||||
Loading…
Add table
Add a link
Reference in a new issue