Skip to content

Commit

Permalink
chore(lsp): update neovim nightly API call (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb authored Apr 19, 2024
1 parent efccc7d commit 2a53e2f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 20 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.6] - 2024-04-19

### Changed

- Update neovim nightly API call [[#365](https://github.com/mrcjkb/rustaceanvim/issues/365)].
If you are using neovim nightly, you need a build after April 19, 2024.

## [4.22.5] - 2024-04-18

### Fixed
Expand Down
36 changes: 18 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lua/rustaceanvim/server_status.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function M.handler(_, result, ctx, _)
if type(vim.lsp.inlay_hint) == 'table' then
for _, bufnr in ipairs(vim.lsp.get_buffers_by_client_id(ctx.client_id)) do
if vim.lsp.inlay_hint.is_enabled(bufnr) then
vim.lsp.inlay_hint.enable(bufnr, false)
vim.lsp.inlay_hint.enable(bufnr, true)
vim.lsp.inlay_hint.enable(false, { bufnr = bufnr })
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
end
end
end
Expand Down

0 comments on commit 2a53e2f

Please sign in to comment.