all repos

init.lua @ 5e59f68f7689d3f3b6ae873a9942e8f389551f3d

my nvim config

init.lua/lua/fk/plugin/rust-tools.lua(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
---@param opts table
return function(opts)
  require("rust-tools").setup {
    server = opts,
    tools = {
      inlay_hints = {
        parameter_hints_prefix = "<- ",
        other_hints_prefix = "=> ",
        highlight = "LspCodeLens",
      },
    },
  }
end