Skip to content
Compare
Choose a tag to compare
@yardnsm yardnsm released this 24 Jan 09:38
· 6 commits to master since this release
e98ba9d

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)!