Merge pull request 'add-mind & metals telescope support' (#5) from add-mind into main

Reviewed-on: https://git.softinio.com/softinio/nvim-config/pulls/5
This commit is contained in:
Salar Rahmanian 2023-02-11 19:36:16 +00:00
commit 7ad9b5a141
2 changed files with 12 additions and 0 deletions

7
lua/plugins/mind.lua Normal file
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()