neovim: add lombok to the jdtls

This commit is contained in:
Dmitriy Pleshevskiy 2024-09-10 14:48:50 +03:00
parent c0c761e740
commit 459a1c7132
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -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"