lunarvim.org icon indicating copy to clipboard operation
lunarvim.org copied to clipboard

Rust deprecated options

Open kobzarchekg opened this issue 2 years ago • 0 comments

For Rust lang settings the option

 hover_with_actions = true

is deprecated, so update it to next

 -- options same as lsp hover / vim.lsp.util.open_floating_preview()
    hover_actions = {

      -- the border that is used for the hover window
      -- see vim.api.nvim_open_win()
      border = {
        { "╭", "FloatBorder" },
        { "─", "FloatBorder" },
        { "╮", "FloatBorder" },
        { "│", "FloatBorder" },
        { "╯", "FloatBorder" },
        { "─", "FloatBorder" },
        { "╰", "FloatBorder" },
        { "│", "FloatBorder" },
      },

      -- whether the hover action window gets automatically focused
      -- default: false
      auto_focus = false,
    },

https://github.com/simrat39/rust-tools.nvim

kobzarchekg avatar Aug 17 '22 09:08 kobzarchekg