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!
-
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 theImportCostVirtualText
highlight group, whose default value isNonText
(which is more appropriate than the previously usedLineNr
). - 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)!