diff --git a/neovim/configs/language-server.nix b/neovim/configs/language-server.nix index 69a67e7..30469bb 100644 --- a/neovim/configs/language-server.nix +++ b/neovim/configs/language-server.nix @@ -49,12 +49,16 @@ let inherit (lib.nix2lua) call; in }; # java jdtls = { - cmd = [ "${pkgs.jdt-language-server}/bin/jdtls" ]; + cmd = [ + "${pkgs.jdt-language-server}/bin/jdtls" + "--jvm-arg=-javaagent:${pkgs.lombok.out}/share/java/lombok.jar" + "--jvm-arg=-Xbootclasspath/a:${pkgs.lombok.out}/share/java/lombok.jar" + ]; }; # json jsonls = { }; # css, scss, less - cssls = {}; + cssls = { }; css_variables = { lookupFiles = [ "**/*.scss"