kak: Add .mill files to list of Scala files

This commit is contained in:
Natsu Kagami 2024-11-26 17:06:04 +01:00
parent 23e731a2ac
commit 0e3cf36457
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 2 additions and 2 deletions

View file

@ -117,7 +117,7 @@ in
programs.kak-lsp.languageServers.metals = {
command = "metals";
filetypes = [ "scala" ];
roots = [ "build.sbt" "build.sc" ];
roots = [ "build.sbt" "build.sc" "build.mill" ];
settings_section = "metals";
settings.metals = {
enableSemanticHighlighting = true;

View file

@ -206,7 +206,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
}