48
submitted 2 months ago by [email protected] to c/[email protected]
top 6 comments
sorted by: hot top controversial new old
[-] [email protected] 3 points 2 months ago

Lots of breaking changes. It seems like all of the changes are breaking something according to these release notes.

[-] [email protected] 13 points 2 months ago

Also my CPU now longer overheats when holding space. WTF?

[-] [email protected] 3 points 1 month ago
[-] [email protected] 2 points 2 months ago* (last edited 2 months ago)

One breaking change, that they doesn't list as breaking (I guess since I assume the old was always broken) is: Dynamic registration of LSP capabilities. An implication of this change is that checking a client's server_capabilities is no longer a sufficient indicator to see if a server supports a feature. Instead use client.supports_method(). It considers both the dynamic capabilities and static server_capabilities.

So if you had code like

if client.server_capabilities.inlayHintProvider then
...
end

you now should use

if client.supports_method("inlayHintProvider") then
...
end

So, not really a breaking change I guess, but something you should change any way.

[-] [email protected] 3 points 2 months ago

new disable foldtext option is cool

[-] [email protected] 3 points 1 month ago

:lua with a [range] executes that range as Lua code, in any buffer.

Finally! Something similar to M-x eval-region built-in (as far as I'm aware).

this post was submitted on 16 May 2024
48 points (100.0% liked)

Neovim

1985 readers
3 users here now

founded 1 year ago
MODERATORS