From 83a4d947032a5ffb420c9b68201dc2727eb63ec3 Mon Sep 17 00:00:00 2001 From: xieby1 Date: Sat, 18 Nov 2023 20:19:40 +0800 Subject: [PATCH] usr: cli: vim: metals: add metalsBinaryPath --- usr/cli/vim.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/cli/vim.nix b/usr/cli/vim.nix index c68d1fd3..7d150bf0 100644 --- a/usr/cli/vim.nix +++ b/usr/cli/vim.nix @@ -478,6 +478,8 @@ let "-Dhttp.proxyHost=127.0.0.1", "-Dhttp.proxyPort=${toString config.proxyPort}", }, + -- see `:h metalsBinaryPath`, "Another setting for you crazy Nix kids." Hahaha! + metalsBinaryPath = "${pkgs.metals}/bin/metals", } metals_config.capabilities = require("cmp_nvim_lsp").default_capabilities() -- Autocmd that will actually be in charging of starting the whole thing