Skip to content

Commit

Permalink
Version 0.3.2
Browse files Browse the repository at this point in the history
Merge pull request #6 from speelbarrow/v0.3.2
  • Loading branch information
speelbarrow authored Jul 2, 2024
2 parents 7da82f6 + 11bc3e3 commit af245b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

### [0.3.2](https://github.com/speelbarrow/spLauncher.nvim/tree/v0.3.2)
- Fix issue where [`util.workspace`](
https://github.com/speelbarrow/spLauncher.nvim/blob/b4911faeada96b0437ee406dc269035bf56d4759/lua/spLauncher/util.lua#L7)
would try to [`vim.tbl_deep_extend`](https://neovim.io/doc/user/lua.html#vim.tbl_deep_extend()) a nil value ([b4911fa](
https://github.com/speelbarrow/spLauncher.nvim/commit/b4911faeada96b0437ee406dc269035bf56d4759))

### [0.3.1](https://github.com/speelbarrow/spLauncher.nvim/tree/v0.3.1)
- Update default action keybindings ([ccd6f5c](
https://github.com/speelbarrow/spLauncher.nvim/commit/ccd6f5c1b692c68802ae7a88bb53fa76e52b3c49))
Expand Down
2 changes: 1 addition & 1 deletion lua/spLauncher/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function M.workspace(lsp, config, bufnr)
local client = vim.lsp.get_client_by_id(args.data.client_id)

if client and client.name == lsp and client.config.root_dir ~= nil and client.config.root_dir ~= "" then
vim.b[args.buf].spLauncherActionMap = vim.tbl_deep_extend("force", vim.b[args.buf].spLauncherActionMap,
vim.b[args.buf].spLauncherActionMap = vim.tbl_deep_extend("force", vim.b[args.buf].spLauncherActionMap or {},
type(config) == "function" and
config(client.config.root_dir) or config)
end
Expand Down

0 comments on commit af245b8

Please sign in to comment.