about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-26 10:32:30 +0000
committerbors <bors@rust-lang.org>2024-02-26 10:32:30 +0000
commit4585b461e5359674eaa5b7e0a92b709c919d7e56 (patch)
treec1c34a16e1378509e3cc6d7ca483daf6c3424536 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent309e087426adf25abe7f7a08591e36cdc50362b7 (diff)
parent4060377c07376d6cba51332341114accdb1ae0ef (diff)
downloadrust-4585b461e5359674eaa5b7e0a92b709c919d7e56.tar.gz
rust-4585b461e5359674eaa5b7e0a92b709c919d7e56.zip
Auto merge of #16670 - rikhuijzer:rh/inlay-hints-nvim, r=Veykril
Document nvim 0.10 `inlay_hint`

It took me a few hours to figure out how to enable inlay type hints on Nvim 0.10 with `lspconfig`. `rustaceanvim` has already dropped support for them (https://github.com/mrcjkb/rustaceanvim/discussions/46#discussioncomment-7518669) and most other plugins, like `rust-tools`, are depreciated in favor of `rustaceanvim`.

This PR documents how to enable the inlay hints on Neovim 0.10 and later. I've tested this and changing the `on_attach` function is the only step that is required.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions