kak: Add .mill files to list of Scala files
This commit is contained in:
parent
23e731a2ac
commit
0e3cf36457
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue