add inlay hints for Rust
This commit is contained in:
parent
46773e6a28
commit
7c55b820d7
|
@ -168,3 +168,18 @@ local opts = {
|
|||
}
|
||||
|
||||
require('rust-tools').setup(opts)
|
||||
|
||||
-- Set inlay hints for the current buffer
|
||||
require('rust-tools').inlay_hints.set()
|
||||
-- Unset inlay hints for the current buffer
|
||||
require('rust-tools').inlay_hints.unset()
|
||||
-- Enable inlay hints auto update and set them for all the buffers
|
||||
require('rust-tools').inlay_hints.enable()
|
||||
-- Disable inlay hints auto update and unset them for all buffers
|
||||
require('rust-tools').inlay_hints.disable()
|
||||
|
||||
-- RustRunnables
|
||||
require('rust-tools').runnables.runnables()
|
||||
|
||||
-- RustExpandMacro
|
||||
require'rust-tools'.expand_macro.expand_macro()
|
||||
|
|
Loading…
Reference in New Issue