Skip to content

Commit

Permalink
fix(ui): float_win_config.border not applied to code action group (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb authored Apr 18, 2024
1 parent e5415b5 commit efccc7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.22.5] - 2024-04-18

### Fixed

- UI: `float_win_config.border` not applied
to code action group windows [[#363](https://github.com/mrcjkb/rustaceanvim/issues/363)].

## [4.22.4] - 2024-04-15

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions lua/rustaceanvim/commands/code_action_group.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ local function on_code_action_results(results, ctx)
width = M.state.primary.geometry.width,
height = vim.tbl_count(M.state.actions.grouped) + vim.tbl_count(M.state.actions.ungrouped),
focusable = true,
border = 'rounded',
border = config.tools.float_win_config.border,
row = 1,
col = 0,
})
Expand Down Expand Up @@ -299,7 +299,7 @@ function M.on_cursor_move()
width = M.state.secondary.geometry.width,
height = #value.actions,
focusable = true,
border = 'rounded',
border = config.tools.float_win_config.border,
row = line - 2,
col = M.state.primary.geometry.width + 1,
})
Expand Down

0 comments on commit efccc7d

Please sign in to comment.