Skip to content

Releases: yardnsm/vim-import-cost

2.0

24 Jan 09:38
e98ba9d
Compare
Choose a tag to compare

Version 2 🎉 📦

Changes available at #24.

  • When using the virtual text feature, the results are coming on-the-fly, meaning you don't have to wait for the script to finish in order to view the imports, similarly to the VS Code plugin!

vim_import_cost_otf

  • The virtual text renderer has been updated to become more stable.

  • A new :ImportCostClear command has been added! It'll clear the virtual text by a given range.

  • Internally, the virtual text logic and the scratch buffer logic were separated into different files.

Changes

  • The auto mode for the virtual text feature has been removed from this plugin. he reason behind this is due to make this plugin non-interruptible and making it available only on demand. Users who still want this behaviour can refer to the README.
  • The g:import_cost_virtualtext_hl_group option has been removed. Instead, the virtual text will use the ImportCostVirtualText highlight group, whose default value is NonText (which is more appropriate than the previously used LineNr).
  • The default virtual text prefix (g:import_cost_virtualtext_prefix) has been change to >.

🔥 Huge thanks to @meain for the initial virtual text implementation (#21)!

1.0

27 Oct 19:35
81d4599
Compare
Choose a tag to compare
1.0
v1.0

Move screenshot to .github, add an ISSUE_TEMPLATE