Skip to content

Commit

Permalink
fix(lsp): force-extend capabilities with detected plugin capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed May 30, 2024
1 parent a8d038f commit 2fa4542
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@ 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).

## Unreleased
## [4.24.0] - 2024-05-30

### Added

- Config: Add a new `config.server.root_dir` option to override the root
directory detection logic
Thanks [@bgw](https://github.com/bgw)!

### Fixed

- LSP: Force-extend Neovim's default client capabilities
with detected plugin capabilities, to ensure plugin capability
extensions take precedence in case of conflict.

## [4.23.5] - 2024-05-24

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lua/rustaceanvim/config/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function server.create_client_capabilities()
}
end)
return vim.tbl_deep_extend(
'keep',
'force',
rs_capabilities,
cmp_capabilities,
selection_range_capabilities,
Expand Down

0 comments on commit 2fa4542

Please sign in to comment.