languages/elixir.nix: fix elixir-tools setup (#401)

This commit is contained in:
Charlie Root 2024-10-05 21:56:33 +00:00 committed by GitHub
parent cc14a1c1f6
commit f01e404b2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,12 +114,12 @@ in {
(mkIf cfg.elixir-tools.enable { (mkIf cfg.elixir-tools.enable {
vim.startPlugins = ["elixir-tools"]; vim.startPlugins = ["elixir-tools"];
vim.pluginRC.elixir-tools = entryAnywhere '' vim.pluginRC.elixir-tools = entryAnywhere ''
local elixir-tools = require("elixir") local elixir = require("elixir")
local elixirls = require("elixir-tools.elixirls") local elixirls = require("elixir.elixirls")
-- disable imperative insstallations of various -- disable imperative insstallations of various
-- elixir related tools installed by elixir-tools -- elixir related tools installed by elixir-tools
elixir-tools.setup { elixir.setup {
nextls = { nextls = {
enable = false -- defaults to false enable = false -- defaults to false
}, },