rust.lua 524 B

12345678910111213141516171819202122232425262728293031
  1. return {
  2. {
  3. "saecki/crates.nvim",
  4. tag = "stable",
  5. config = function()
  6. require("crates").setup({
  7. completion = {
  8. cmp = {
  9. enabled = true,
  10. },
  11. },
  12. null_ls = {
  13. enabled = true,
  14. },
  15. })
  16. end,
  17. },
  18. {
  19. "mrcjkb/rustaceanvim",
  20. version = "^4", -- Recommended
  21. lazy = false, -- This plugin is already lazy
  22. },
  23. {
  24. "MysticalDevil/inlay-hints.nvim",
  25. event = "LspAttach",
  26. dependencies = { "neovim/nvim-lspconfig" },
  27. config = function()
  28. require("inlay-hints").setup()
  29. end,
  30. },
  31. }