Enable metals semantic highlighting

This commit is contained in:
Natsu Kagami 2023-04-11 11:50:17 +02:00
parent 7bd9cb16b8
commit 3a564ac426
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 6 additions and 0 deletions

View file

@ -60,6 +60,11 @@ in
command = "metals"; command = "metals";
filetypes = [ "scala" ]; filetypes = [ "scala" ];
roots = [ "build.sbt" ]; roots = [ "build.sbt" ];
settings_section = "metals";
settings.metals = {
enableSemanticHighlighting = true;
showInferredType = true;
};
}; };
programs.kak-lsp.languages.latex = { programs.kak-lsp.languages.latex = {
command = "texlab"; command = "texlab";

View file

@ -177,6 +177,7 @@ let
{ face = "class"; token = "struct"; } { face = "class"; token = "struct"; }
{ face = "class"; token = "trait"; } { face = "class"; token = "trait"; }
{ face = "class"; token = "union"; } { face = "class"; token = "union"; }
{ face = "class"; token = "class"; }
## Comments ## Comments
{ face = "documentation"; token = "comment"; modifiers = [ "documentation" ]; } { face = "documentation"; token = "comment"; modifiers = [ "documentation" ]; }