mirror of
https://github.com/softinio/nix-config.git
synced 2025-10-18 19:16:41 -07:00
correct metals lsp settings
This commit is contained in:
parent
9735440660
commit
4d78b972b2
1 changed files with 30 additions and 20 deletions
|
@ -54,9 +54,18 @@
|
||||||
# Scala
|
# Scala
|
||||||
metals = {
|
metals = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.settings = {
|
config = {
|
||||||
|
filetypes = [
|
||||||
|
"scala"
|
||||||
|
"sbt"
|
||||||
|
"sc"
|
||||||
|
"mill"
|
||||||
|
];
|
||||||
|
settings.metals = {
|
||||||
defaultBspToBuildTool = true;
|
defaultBspToBuildTool = true;
|
||||||
|
defaultShell = "fish";
|
||||||
enableBestEffort = true;
|
enableBestEffort = true;
|
||||||
|
enableSemanticHighlighting = false;
|
||||||
excludedPackages = [
|
excludedPackages = [
|
||||||
"akka.actor.typed.javadsl"
|
"akka.actor.typed.javadsl"
|
||||||
"com.github.swagger.akka.javadsl"
|
"com.github.swagger.akka.javadsl"
|
||||||
|
@ -78,6 +87,7 @@
|
||||||
useGlobalExecutable = true;
|
useGlobalExecutable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Nix
|
# Nix
|
||||||
nil_ls.enable = true;
|
nil_ls.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue