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

View file

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