Skip to content

Commit 2fa4542

Browse files
committed
fix(lsp): force-extend capabilities with detected plugin capabilities
1 parent a8d038f commit 2fa4542

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9-
## Unreleased
9+
## [4.24.0] - 2024-05-30
1010

1111
### Added
1212

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

17+
### Fixed
18+
19+
- LSP: Force-extend Neovim's default client capabilities
20+
with detected plugin capabilities, to ensure plugin capability
21+
extensions take precedence in case of conflict.
22+
1723
## [4.23.5] - 2024-05-24
1824

1925
### Fixed

lua/rustaceanvim/config/server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function server.create_client_capabilities()
148148
}
149149
end)
150150
return vim.tbl_deep_extend(
151-
'keep',
151+
'force',
152152
rs_capabilities,
153153
cmp_capabilities,
154154
selection_range_capabilities,

0 commit comments

Comments
 (0)