Skip to content

Commit 5aa3b16

Browse files
committed
chore: rename to elixir-tools.nvim
1 parent f2e1d72 commit 5aa3b16

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# elixir.nvim
1+
# elixir-tools.nvim
22

33
[![Discord](https://img.shields.io/badge/Discord-5865F3?style=flat&logo=discord&logoColor=white&link=https://discord.gg/nNDMwTJ8)](https://discord.gg/nNDMwTJ8)
44

5-
`elixir.nvim` provides a nice experience for writing Elixir applications with [Neovim](https://github.com/neovim/neovim).
5+
`elixir-tools.nvim` provides a nice experience for writing Elixir applications with [Neovim](https://github.com/neovim/neovim).
66

77
> Note: This plugin does not provide autocompletion, I recommend using [nvim-cmp](https://github.com/hrsh7th/nvim-cmp).
88
@@ -20,7 +20,7 @@ Requires 0.8.
2020

2121
```lua
2222
{
23-
"mhanberg/elixir.nvim",
23+
"elixir-tools/elixir-tools.nvim",
2424
ft = { "elixir", "eex", "heex", "surface" },
2525
config = function()
2626
local elixir = require("elixir")
@@ -49,7 +49,7 @@ Requires 0.8.
4949
### packer.nvim
5050

5151
```lua
52-
use({ "mhanberg/elixir.nvim", requires = { "nvim-lua/plenary.nvim" }})
52+
use({ "elixir-tools/elixir-tools.nvim", requires = { "nvim-lua/plenary.nvim" }})
5353
```
5454

5555
## Getting Started
@@ -140,7 +140,7 @@ Caveat: This currently downloads the language server into the `.elixir_ls` direc
140140

141141
#### Root Path Detection
142142

143-
`elixir.nvim` should be able to properly set the root directory for umbrella and non-umbrella apps. The nvim-lspconfig project's root detection doesn't properly account for umbrella projects.
143+
`elixir-tools.nvim` should be able to properly set the root directory for umbrella and non-umbrella apps. The nvim-lspconfig project's root detection doesn't properly account for umbrella projects.
144144

145145
#### Run Tests
146146

lua/elixir/language_server/init.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ M.on_attach = function(client, bufnr)
207207
end, {})
208208
end
209209

210-
local cache_dir = Path:new(vim.fn.getcwd(), ".elixir_ls", "elixir.nvim")
210+
local cache_dir = Path:new(vim.fn.getcwd(), ".elixir_ls", "elixir-tools.nvim")
211211
local download_dir = cache_dir:joinpath("downloads")
212-
local install_dir = Path:new(vim.fn.expand("~/.cache/nvim/elixir.nvim/installs"))
212+
local install_dir = Path:new(vim.fn.expand("~/.cache/nvim/elixir-tools.nvim/installs"))
213213

214214
local function install_elixir_ls(opts)
215215
local source_path = Download.clone(tostring(download_dir:absolute()), opts)
@@ -236,9 +236,9 @@ local function install_elixir_ls(opts)
236236
vim.fn.jobstart({ "rm", "-rf", download_dir:absolute() }, {
237237
on_exit = vim.schedule_wrap(function(_, rm_code)
238238
if rm_code == 0 then
239-
vim.notify("Cleaned up elixir.nvim download directory")
239+
vim.notify("Cleaned up elixir-tools.nvim download directory")
240240
else
241-
vim.api.nvim_err_writeln("Failed to clean up elixir.nivm download directory")
241+
vim.api.nvim_err_writeln("Failed to clean up elixir-tools.nvim download directory")
242242
end
243243
end),
244244
})

0 commit comments

Comments
 (0)