Skip to content

Commit

Permalink
chore(lazy): Formatting, which_key fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrKJeff16 committed Jun 6, 2024
1 parent 86705e0 commit f7f1856
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lua/lazy_cfg/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ local function luarocks_set()
local has_luarocks = executable('luarocks', function()
require('user.util.notify').notify(
[[
(lazy_cfg:luarocks_set): `luarocks` is not installed. Can't install both `luarocks.nvim` and `Neorg`.
Comment them out in your packages file or install it and configure `LUA_PATH` and `LUA_CPATH` variables.
]],
(lazy_cfg:luarocks_set): `luarocks` is not installed. Can't install both `luarocks.nvim` and `Neorg`.
Comment them out in your packages file or install it and configure `LUA_PATH` and `LUA_CPATH` variables.
]],
'error',
{ title = 'Luarocks', timeout = 3000, hide_from_history = false }
)
Expand All @@ -89,9 +89,9 @@ local function luarocks_set()
local configured_luarocks = env_vars({ 'LUA_PATH', 'LUA_CPATH' }, function()
require('user.util.notify').notify(
[[
(lazy_cfg:luarocks_set): Either `LUA_PATH` or `LUA_CPATH` are not initialized. Can't install both `luarocks.nvim` and `Neorg`.
Comment them out in your packages file or install it and configure `LUA_PATH` and `LUA_CPATH` variables.
]],
(lazy_cfg:luarocks_set): Either `LUA_PATH` or `LUA_CPATH` are not initialized. Can't install both `luarocks.nvim` and `Neorg`.
Comment them out in your packages file or install it and configure `LUA_PATH` and `LUA_CPATH` variables.
]],
'warn',
{ title = 'Luarocks', timeout = 3000, hide_from_history = false }
)
Expand Down Expand Up @@ -159,8 +159,8 @@ end
--- ---
--- ## Parameters
--- * `field`: Either a **string** that will be the name of a vim `g:...` variable, or
--- a **dictionary** with the keys as the vim `g:...` variable names, and the value
--- as whatever said variables are set to respectively.
--- a **dictionary** with the keys as the vim `g:...` variable names, and the value
--- as whatever said variables are set to respectively.
--- ---
--- ## Return
--- A **function** that sets the pre-loading for the colorscheme and initializes the `g:field` variable(s).
Expand Down Expand Up @@ -415,6 +415,7 @@ M.NVIM = {
vim.opt.termguicolors = vim_exists('+termguicolors') and not in_console()
end,
config = source('lazy_cfg.which_key'),
enabled = vim_has('nvim-0.9'),
},
{
'nvimdev/dashboard-nvim',
Expand Down

0 comments on commit f7f1856

Please sign in to comment.