Skip to content

Commit

Permalink
chore(installer): move settings together
Browse files Browse the repository at this point in the history
- fixed a typo
- having the settings next to each other make them more recognizable
I removed the sentence `It is highly recommended that you allow rocks.nvim to set up luarocks for you.` because it was not clear to me why it was "highly recommended".
  • Loading branch information
teto committed Feb 5, 2024
1 parent 7d7ba4e commit 3834f51
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions installer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ Once you start editing a value, you may exit it by pressing Enter or by clicking
-------------------------------------------------------------------------------------------
Rocks installation path: [install_path:50:{{vim.fs.joinpath(vim.fn.stdpath('data'), "rocks")}}]
Should rocks.nvim set up luarocks?: [setup_luarocks:6:{{true }}]
It is highly recommended that you allow rocks.nvim to set up luarocks for you.
Set up luarocks (recommended) ?: [setup_luarocks:6:{{true }}]
< OK >
]],
Expand Down Expand Up @@ -375,7 +373,7 @@ local function install()
elseif vim.fn.executable(luarocks_binary) ~= 1 then
vim.notify(
luarocks_binary
.. " not found. Please ensure luarocks is installed or configure the instllert to setup luarocks automatically",
.. " not found. Please ensure luarocks is installed or configure the installer to setup luarocks automatically",
vim.log.levels.ERROR
)
return
Expand Down

0 comments on commit 3834f51

Please sign in to comment.