From 34c0562834843d051fe2a3daa7bb94b45fd01c4a Mon Sep 17 00:00:00 2001 From: xieby1 Date: Sat, 18 Nov 2023 20:01:31 +0800 Subject: [PATCH] usr: cli: vim: add bloop proxy in .javaopts --- usr/cli/vim.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/usr/cli/vim.nix b/usr/cli/vim.nix index 1429d844..c68d1fd3 100644 --- a/usr/cli/vim.nix +++ b/usr/cli/vim.nix @@ -935,4 +935,15 @@ in nnoremap p :CocListResume ''; }; + + # nvim-metals proxy for bloop + home.file.jvmopts = { + text = '' + -Dhttps.proxyHost=127.0.0.1 + -Dhttps.proxyPort=${toString config.proxyPort} + -Dhttp.proxyHost=127.0.0.1 + -Dhttp.proxyPort=${toString config.proxyPort} + ''; + target = ".bloop/.jvmopts"; + }; }