mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
config: removed interactive option. not needed
This commit is contained in:
parent
0369278159
commit
47f5c124aa
2 changed files with 2 additions and 11 deletions
|
@ -11,7 +11,6 @@ M.defaults = {
|
|||
---@type string[]
|
||||
patterns = {},
|
||||
},
|
||||
interactive = true,
|
||||
packpath = vim.fn.stdpath("data") .. "/site/pack/lazy",
|
||||
lockfile = vim.fn.stdpath("config") .. "/lazy-lock.json",
|
||||
view = {
|
||||
|
@ -59,11 +58,6 @@ function M.setup(opts)
|
|||
M.paths.plugins = vim.fn.stdpath("config") .. "/lua/" .. M.options.plugins:gsub("%.", "/")
|
||||
M.paths.main = M.paths.plugins .. (vim.loop.fs_stat(M.paths.plugins .. ".lua") and ".lua" or "/init.lua")
|
||||
|
||||
-- TODO: check what this does inside a GUI. Probably still ok
|
||||
if #vim.api.nvim_list_uis() == 0 then
|
||||
M.options.interactive = false
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "VeryLazy",
|
||||
once = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue