update lsp for rust

This commit is contained in:
2025-07-18 00:12:30 +01:00
parent 21bedced4f
commit cfac74a751
3 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,10 @@ return function(client, bufnr)
require('nvim-navbuddy').attach(client, bufnr)
end
if client.server_capabilities.inlayHintProvider ~= nil and client.server_capabilities.inlayHintProvider.resolveProvider then
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
end
local nmap = function(keys, func, desc)
if desc then
desc = 'LSP: ' .. desc