Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Releases: utilyre/sentiment.nvim

Release v1.1.1

24 Mar 17:22
Compare
Choose a tag to compare

All changes of this release are documented here.

Bug Fixes

  • autocmds: Close the timer before assigning it to a new value. (f5cc90a)

  • timer: Close the timer just before everything is deallocated. (54a6db1)

Documentation

  • ui: Mark render as an async function. (9bfbcbc)

  • readme: Remove unneeded name from lazy.nvim instructions. (095dfba)

  • readme: Prefix the packer.nvim table with the use function. (431d212)

House Keeping

Refactor

  • autocmds: Rename renderer_timer to timer. (88a2ebe)

  • autocmds: Extract close_timer logic to its own function. (a59dd20)

Release v1.1.0

22 Mar 13:32
Compare
Choose a tag to compare

All changes of this release are documented here.

Bug Fixes

  • renderer: Trigger on BufReadPre instead of BufWinEnter. (153535a)

  • enable: Do the initial render before creating renderer. (47a6836)

  • autocmds: Completely clear highlights and autocmds on disable. (44303dd)

  • ui: Remove the is_upper optimization. (e385638)

Documentation

  • readme: Add highlight section. (526c54c)

  • readme: Insert the missing colon. (01427ed)

  • readme: Move all link definitions at the bottom of the file. (38d1872)

  • init: Mention matchparen.vim with its full name. (6708e50)

Features

  • render: Return defer_fn's timer handle. (3285cf0)

House Keeping

Refactor

  • autocmd: Use the exists method instead of checking the id. (c2e965b)

  • autocmd: Instantiate with a spec table. (54137cb)

  • ui: Use vim.deep_equal to simplify the code. (bc4f9ea)

Release v1.0.0

19 Mar 14:17
Compare
Choose a tag to compare

All changes of this release are documented here.

Bug Fixes

  • render: Check if window and buffer are valid in defer_fn call. (2f7aaed)

  • manager: Improve error message in config linting. (f09371c)

Documentation

  • autocmd: Add error note to create method. (3a946bb)

  • NONE: Improve config related docs. (ae3f03e)

  • config: Add a note to the pairs option. (88a7e4f)

Features

  • manager: Lint config before setting it. (26e16e9)

House Keeping

  • docs: Generate vimdoc. (708db91)

  • readme: Sync with default.lua. (8c8fe87)

Refactor

  • is_mode_included: Rename to is_current_mode_included. (783d71e)

  • portion: Rename coefficient to factor. (9c5ced4)

Release v0.4.0

15 Mar 12:51
Compare
Choose a tag to compare

All changes of this release are documented here.

Bug Fixes

  • autocmds: Add BufWinEnter to renderer events. (c848669)

  • portion: Use utils.ternary when and ... or doesn't work. (5c4c8b1)

Documentation

  • readme: Fix typo. (f733d24)

  • utils: Improve code docs. (bfb79ea)

  • config: Explain more about the delay option. (f795062)

  • ui: Document find_pair function. (1c48eb4)

  • config: Improve config documentation. (af95ef9)

Features

  • config: Add included_modes option. (d43f3db)

House Keeping

  • formatting: Format with stylua. (32eae42)

Refactor

  • portion: Use self helper methods instead of direct use. (a5debd2)

  • ui: Extract find_pairs logic. (0295582)

  • NONE: Use the term "pair" properly. (3e90c01)

  • ui: Move the pair variable close to where it is used. (9f59d54)

Styling

  • autocmds: Put each event on a separate line. (6a91aef)

Release v0.3.3

11 Mar 20:57
Compare
Choose a tag to compare

All changes of this release are documented here.

Bug Fixes

  • autocmd: Throw error if user is trying to create autocmd twice. (897dc5f)

  • config: Generate all local variables once the config is set. (70ad92c)

House Keeping

Release v0.3.2

11 Mar 20:30
Compare
Choose a tag to compare

All changes of this release are documented here.

House Keeping

Performance

  • ui: Wait delay amount of time before calculating the pairs. (bb6788b)

  • ui: Call :get_cursor once and store it in cursor variable. (85e8168)

Release v0.3.1

11 Mar 09:20
Compare
Choose a tag to compare

All changes of this release are documented here.

Documentation

  • luadoc: Add missing parameter descriptions. (6bfe1ce)

  • readme: Link to matchparen.vim. (1eab7be)

  • luadoc: Surround Pair and Portion with backticks. (f20553f)

House Keeping

  • readme: Sync with default.lua. (44bc5c1)

  • format: Format with stylua. (ebfbf70)

Performance

  • ui!: Only look for the other side of a found pair. (d420c05)

  • ui: Find a pair towards the closer side (top or bottom). (4c27b11)

Refactor

  • portion: Rename to get_line and make it a private method. (127c2ce)

  • portion: Make get_line take a row instead of cursor. (271b465)

  • ui: Move duplication to find_pair and find_other_pair. (4ee35bc)

Release v0.3.0

08 Mar 16:07
Compare
Choose a tag to compare

All changes of this release are documented here.

NOTE: Police revolving light emoji (🚨) indicates that breaking changes have
happened on the commit.

Bug Fixes

  • a4e1f2e: Normalize the viewport top for nvim_buf_clear_namespace.

Documentation

Features

  • 65c91cf: Implement get_top and get_bottom methods.

  • 898b55b: Implement disable and enable APIs.

House Keeping

Performance

  • 91f163b: Only clear namespace of the previous portion viewport.

Refactor

Release v0.2.0

07 Mar 18:55
Compare
Choose a tag to compare

All changes of this release are documented here.

NOTE: Police revolving light emoji (🚨) indicates that breaking changes have
happened on the commit.

Bug Fixes

  • 1023d22: Set self.id to nil when it is not valid anymore.

Documentation

  • ab677e1: Make all Autocmd fields private.

  • de3dd51: Document all the user commands.

  • 5458c8b: Fix command typo.

  • 6bd244d: Directly include the default config.

Features

  • dc58643: Add exists method.

  • a3753a0: Create DoMatchParen and NoMatchParen user commands.

House Keeping

Refactor

  • c7b4664: Move AutocmdArgs into Autocmd module.

  • e35644e: Store all Autocmd instances inside autocmds module.

Release v0.1.1

07 Mar 12:27
Compare
Choose a tag to compare

All changes of this release are documented here.

NOTE: Police revolving light emoji (🚨) indicates that breaking changes have
happened on the commit.

Documentation

  • 2882596: Clarify description of M.render.

Refactor

  • 89150bc: Abstract away the logic behind creating autocmds.

  • 1b01c4a: Inline M.clear function as it was used once.

Styling