Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

[WIP] Feature/import cost layer #2506

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

akinsho
Copy link
Member

@akinsho akinsho commented Aug 16, 2018

Was inspired by https://github.com/yardnsm/vim-import-cost to implement an import cost buffer layer similar to this.

It uses the import-cost npm package which does all of the hard work I just render the result of it in a buffer layer.

The layer is in the extensions dir and is something that I think can be separated out once we have plugin management sorted.

screen shot 2018-08-15 at 12 54 06

Outstanding:

  • Attempt to add jest test for layer
  • Add configurable size boundaries for packages and colors config opts for sizes
  • Allow priorities to be specified for layer i.e. this would clash with git blame but currently has a hard coded z-index (make that user configurable)

@akinsho akinsho changed the title Feature/import cost layer [WIP] Feature/import cost layer Aug 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant