No description
Find a file
2022-12-31 14:08:30 -06:00
doc initial commit 2022-12-31 14:08:30 -06:00
lua initial commit 2022-12-31 14:08:30 -06:00
src initial commit 2022-12-31 14:08:30 -06:00
.gitignore initial commit 2022-12-31 14:08:30 -06:00
.stylua.toml initial commit 2022-12-31 14:08:30 -06:00
install.sh initial commit 2022-12-31 14:08:30 -06:00
readme.md initial commit 2022-12-31 14:08:30 -06:00

import-cost.nvim

Display the costs of javascript imports inside neovim with the power of import-cost

preview

Installation

  1. Install regularly with your package manager
  2. Run the install script inside the directory:
sh install.sh

Example configuration with packer.nvim:

use {
    'barrett-ruth/import-cost.nvim',
    run = 'sh install.sh'
}

Configuration

require('import-cost').setup(opts)

See :h import-cost for more information

TODO

  • Automatic setup