add metals telescope support and linting
This commit is contained in:
parent
93367a7b62
commit
fe22d20eb7
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
return {
|
||||||
|
"phaazon/mind.nvim",
|
||||||
|
branch = "v2.2",
|
||||||
|
config = function()
|
||||||
|
require("mind").setup()
|
||||||
|
end,
|
||||||
|
}
|
|
@ -2,6 +2,11 @@ return {
|
||||||
"scalameta/nvim-metals",
|
"scalameta/nvim-metals",
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>ws", "<cmd>lua require'metals'.hover_worksheet()<cr>", desc = "Metals Worksheet" },
|
{ "<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()
|
config = function()
|
||||||
local metals_config = require("metals").bare_config()
|
local metals_config = require("metals").bare_config()
|
||||||
|
|
Loading…
Reference in a new issue