mirror of
https://github.com/softinio/nix-config.git
synced 2025-10-19 03:26:40 -07:00
update to nixvim scala metals and copilot configs
This commit is contained in:
parent
c543995d4d
commit
0860e967f3
6 changed files with 81 additions and 5 deletions
|
@ -30,5 +30,12 @@
|
|||
pattern = ["swift" "json" "lua" "nix"];
|
||||
command = "setlocal shiftwidth=2 tabstop=2 softtabstop=2 expandtab";
|
||||
}
|
||||
|
||||
# Metals (Scala) - Refresh codelens
|
||||
{
|
||||
event = ["BufEnter" "CursorHold" "InsertLeave"];
|
||||
pattern = ["*.scala" "*.sbt" "*.java"];
|
||||
command = "lua vim.lsp.codelens.refresh()";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue