feat: setup gradle with nvim

This commit is contained in:
matt1432 2023-09-19 23:23:19 -04:00
parent 90b34ca9ef
commit a33f0d7cd9
2 changed files with 9 additions and 1 deletions

View file

@ -16,6 +16,11 @@ let
# always installs latest version
plugin = pluginGit "HEAD";
in {
xdg.configFile = {
"../.gradle/gradle.properties".source = pkgs.writeText "gradle.properties" ''
org.gradle.java.home = ${pkgs.temurin-bin-17}
'';
};
programs.neovim = {
enable = true;
package = pkgs.neovim-nightly;
@ -37,6 +42,7 @@ in {
extraPackages = with pkgs; [
tree-sitter
nodejs_latest
gradle
bat
python311Packages.pylint
@ -55,7 +61,7 @@ in {
"~/.cache/sumneko_lua/log"
];
"sumneko-lua.serverDir" = "${pkgs.lua-language-server}/share/lua-language-server";
"java.jdt.ls.java.home" = "${pkgs.temurin-bin-18}";
"java.jdt.ls.java.home" = "${pkgs.temurin-bin-17}";
"bashIde.shellcheckPath" = "${pkgs.shellcheck}/bin/shellcheck";
languageserver = {
nix = {

View file

@ -71,6 +71,8 @@
# School
virtmanager
gradle
gradle-completion
#camunda-modeler
#
protonmail-bridge