Compare commits

...

2 commits

2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ hook global BufCreate .*[.]md %{
add-highlighter buffer/ wrap
}
hook global BufCreate .*[.](sc|sbt) %{
hook global BufCreate .*[.](sc|sbt|mill) %{
set-option buffer filetype scala
}

View file

@ -130,7 +130,7 @@ let
metals = {
command = "metals";
filetypes = [ "scala" ];
roots = [ "build.sbt" "build.sc" ];
roots = [ "build.sbt" "build.sc" "build.mill" ];
settings_section = "metals";
settings.metals = {
enableSemanticHighlighting = true;