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 {
vim.startPlugins = ["elixir-tools"];
vim.pluginRC.elixir-tools = entryAnywhere ''
local elixir-tools = require("elixir")
local elixirls = require("elixir-tools.elixirls")
local elixir = require("elixir")
local elixirls = require("elixir.elixirls")
-- disable imperative insstallations of various
-- elixir related tools installed by elixir-tools
elixir-tools.setup {
elixir.setup {
nextls = {
enable = false -- defaults to false
},