mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
make keybinding only available for scala filetypes
This commit is contained in:
parent
d13ff2d541
commit
f982010dd8
1 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ return {
|
|||
require("telescope").extensions.metals.commands()
|
||||
end,
|
||||
desc = "Metals commands",
|
||||
ft = { "scala", "sbt", "java" },
|
||||
},
|
||||
{
|
||||
"<leader>mc",
|
||||
|
|
@ -84,6 +85,7 @@ return {
|
|||
require("metals").compile_cascade()
|
||||
end,
|
||||
desc = "Metals compile cascade",
|
||||
ft = { "scala", "sbt", "java" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue