Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 2.26 KB

CHANGELOG.md

File metadata and controls

68 lines (42 loc) · 2.26 KB

Changelog

pre-[1.0.3] - February 3 2024

Fixed

  • In certain condition, changing the box style was not taken into account.
  • Comment strings wasn't displayed for languages that doesn't have block comments when the comment_style option is set to "auto" or "block" (issue #41).

Changed

  • regexes improved for the :CBline command (see README or doc).
  • A titled line in an empty line is automatically converted to a simple line.

Added

  • zsh and kdl file types support.

[1.0.2] - January 13 2024

Fixed

  • Using the functions directly for the titled lines lead to an error if no lines were selected.
  • For the adapted boxes, the new nomenclature was not working when using the function directly (for example: require("comment-box").cabox()).

[1.0.1] - January 10 2024

Added

  • Four new predefined styles of line.

[1.0.0] - January 4 2024

Added

  • Complete rework of the way the plugin deal with the comment strings which allow a complete support of multi-line comments! A new option has been added (comment_style) that can take one of three states:
    • "line": no matter the type of comment applied to the selected comments, boxes, title lines and simple lines will always be commented with line style.
    • "block": no matter the type of comment applied to the selected comments, boxes, title lines and simple lines will always be commented with block style.
    • "auto": if you select one line, boxes, titled lines and simple lines will be commented with line style, if you select multiple lines, they will be commented with block style.

The plugin will bypass this option if the language of the file allow only block comments or only line comments.

Changed

To keep a consistency in the nomenclature of the commands (older commands still work but are deprecated):

  • CBalbox becomes CBlabox.
  • CBacbox becomes CBcabox.
  • CBarbox becomes CBrabox.
  • CBlline has been added (same as CBline).

Deprecated

  • CBalbox.
  • CBacbox.
  • CBarbox.

[0.9.0] - December 31 2023

Added

  • New category: titled lines (see titled lines).
  • Quick Start section for people with no time to waste!
  • CBy and CBd can be used on titled lines as well.

Changed

  • CBdbox becomes CBd.