aboutsummaryrefslogtreecommitdiffstats
path: root/lua/config/lazy.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-31 09:44:13 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-31 09:44:13 +0100
commit669561e21073e6efafddda25ba3ace69fb43819e (patch)
treef94ebd60ad4cab480b5cbcb7e65dd2060696c339 /lua/config/lazy.lua
parent5044c70e9f62cdd06ee91e754423b07c1c18c12d (diff)
downloadnvim-conf-669561e21073e6efafddda25ba3ace69fb43819e.tar.gz
nvim-conf-669561e21073e6efafddda25ba3ace69fb43819e.zip
feat: apply stylua
Diffstat (limited to 'lua/config/lazy.lua')
-rw-r--r--lua/config/lazy.lua66
1 files changed, 33 insertions, 33 deletions
diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua
index 29b1357..14f8740 100644
--- a/lua/config/lazy.lua
+++ b/lua/config/lazy.lua
@@ -1,38 +1,38 @@
-local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
+local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
- vim.fn.system({
- "git",
- "clone",
- "--filter=blob:none",
- "https://github.com/folke/lazy.nvim.git",
- "--branch=stable", -- latest stable release
- lazypath,
- })
+ vim.fn.system {
+ "git",
+ "clone",
+ "--filter=blob:none",
+ "https://github.com/folke/lazy.nvim.git",
+ "--branch=stable", -- latest stable release
+ lazypath,
+ }
end
vim.opt.rtp:prepend(lazypath)
-require("lazy").setup({
- spec = {
- { import = "plugins" },
+require("lazy").setup {
+ spec = {
+ { import = "plugins" },
+ },
+ checker = { enabled = true, notify = false },
+ dev = {
+ path = "~/code/plugins",
+ fallback = true,
+ patterns = { "adalessa" },
+ },
+ performance = {
+ rtp = {
+ disabled_plugins = {
+ "gzip",
+ "matchit",
+ "matchparen",
+ "netrwPlugin",
+ "tarPlugin",
+ "tohtml",
+ "tutor",
+ "zipPlugin",
+ },
},
- checker = { enabled = true, notify = false },
- dev = {
- path = "~/code/plugins",
- fallback = true,
- patterns = {"adalessa"},
- },
- performance = {
- rtp = {
- disabled_plugins = {
- "gzip",
- "matchit",
- "matchparen",
- "netrwPlugin",
- "tarPlugin",
- "tohtml",
- "tutor",
- "zipPlugin",
- },
- },
- },
-})
+ },
+}