-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugins.lua
28 lines (26 loc) · 1.06 KB
/
plugins.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
-- You can configure plugins using the `config` key.
-- You can also configure plugins after the setup call,
-- as they will be available in your neovim runtime.
local opts = {
defaults = {
lazy = true, -- true, -- should plugins be lazy-loaded?
version = nil,
-- default `cond` you can use to globally disable a lot of plugins
-- when running inside vscode for example
cond = nil, ---@type boolean|fun(self:LazyPlugin):boolean|nil
-- version = "*", -- enable this to try installing the latest stable versions of plugins
},
install = {
-- install missing plugins on startup. This doesn't increase startup time.
missing = true,
-- try to load one of these colorschemes when starting an installation during startup
colorscheme = { "gruvbox" },
},
change_detection = {
enabled = true, -- automatically check for config file changes and reload the ui
notify = false, -- get a notification when changes are found
},
}
-- Detect tabstop and shiftwidth automatically
-- 'tpope/vim-sleuth',
require("lazy").setup("plugins", opts)