add metals telescope support and linting

This commit is contained in:
Salar Rahmanian 2023-02-11 11:32:30 -08:00
parent 93367a7b62
commit fe22d20eb7
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,7 @@
return {
"phaazon/mind.nvim",
branch = "v2.2",
config = function()
require("mind").setup()
end,
}

View file

@ -2,6 +2,11 @@ return {
"scalameta/nvim-metals",
keys = {
{ "<leader>ws", "<cmd>lua require'metals'.hover_worksheet()<cr>", desc = "Metals Worksheet" },
{
"<leader>sm",
"<cmd>lua require'telescope'.extensions.metals.commands()<cr>",
desc = "Telescope Metals Commands",
},
},
config = function()
local metals_config = require("metals").bare_config()