Remove Java stuff.
This commit is contained in:
parent
843e5ea6ad
commit
f7a3f60249
2 changed files with 0 additions and 30 deletions
|
@ -44,17 +44,5 @@ mkIf (elem "emacs::lsp" config.machine.pkgs) {
|
||||||
after = [ "lsp-ui" ]
|
after = [ "lsp-ui" ]
|
||||||
++ optional (elem "emacs::flycheck" config.machine.pkgs) "flycheck";
|
++ optional (elem "emacs::flycheck" config.machine.pkgs) "flycheck";
|
||||||
};
|
};
|
||||||
|
|
||||||
lsp-java = {
|
|
||||||
enable = (elem "emacs::java" config.machine.pkgs);
|
|
||||||
command = [ "lsp-java-enable" ];
|
|
||||||
hook = [ ''
|
|
||||||
(java-mode . (lambda ()
|
|
||||||
(lsp-java-enable)
|
|
||||||
(lsp-ui-sideline-mode)
|
|
||||||
(lsp-ui-flycheck-enable t)
|
|
||||||
(setq-local company-backends (list 'company-lsp))))
|
|
||||||
'' ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
config.machine.pkgsets.java.pkgs = with pkgs; [
|
|
||||||
openjdk11
|
|
||||||
maven
|
|
||||||
(with gitpkgs.eclipses; eclipseWithPlugins {
|
|
||||||
eclipse = eclipse-platform;
|
|
||||||
jvmArgs = [ "-Xmx2048m" ];
|
|
||||||
plugins = with plugins; [
|
|
||||||
color-theme
|
|
||||||
# emacsplus
|
|
||||||
checkstyle
|
|
||||||
eclemma
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Reference in a new issue