summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbpc2003 <wpesfriendnva@gmail.com>2025-05-18 21:02:59 -0400
committerbpc2003 <wpesfriendnva@gmail.com>2025-05-18 21:02:59 -0400
commitf08a1d80993366e19a5f5f8db4b2d68554317492 (patch)
tree51005c258253cf51cf6262787dcfd9cf7f793f04
parent8b0fdf83b3e4abb95ae4e4d720dd1c0bb64d75b6 (diff)
Reformatted spacing in lazy.lua
-rw-r--r--lua/config/lazy.lua74
1 files changed, 37 insertions, 37 deletions
diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua
index e839f8f..b707a30 100644
--- a/lua/config/lazy.lua
+++ b/lua/config/lazy.lua
@@ -1,17 +1,17 @@
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
- local lazyrepo = "https://github.com/folke/lazy.nvim.git"
- local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
- if vim.v.shell_error ~= 0 then
- vim.api.nvim_echo({
- { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
- { out, "WarningMsg" },
- { "\nPress any key to exit..." },
- }, true, {})
- vim.fn.getchar()
- os.exit(1)
- end
+ local lazyrepo = "https://github.com/folke/lazy.nvim.git"
+ local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
+ if vim.v.shell_error ~= 0 then
+ vim.api.nvim_echo({
+ { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
+ { out, "WarningMsg" },
+ { "\nPress any key to exit..." },
+ }, true, {})
+ vim.fn.getchar()
+ os.exit(1)
+ end
end
vim.opt.rtp:prepend(lazypath)
@@ -23,34 +23,34 @@ vim.g.maplocalleader = "\\"
-- Setup lazy.nvim
require("lazy").setup({
- spec = {
+ spec = {
-- import your plugins
- {
- "nvim-treesitter/nvim-treesitter",
- run = ":TSUpdate",
- config = function()
- require("nvim-treesitter.configs").setup({
- ensure_installed = "all",
- highlight = {
- enable = true,
- disable = {},
- },
- indent = {
- enable = true,
- },
- })
- end
- },
- {
- "neovim/nvim-lspconfig"
- },
- {
- "ellisonleao/gruvbox.nvim"
- },
- },
+ {
+ "nvim-treesitter/nvim-treesitter",
+ run = ":TSUpdate",
+ config = function()
+ require("nvim-treesitter.configs").setup({
+ ensure_installed = "all",
+ highlight = {
+ enable = true,
+ disable = {},
+ },
+ indent = {
+ enable = true,
+ },
+ })
+ end
+ },
+ {
+ "neovim/nvim-lspconfig"
+ },
+ {
+ "ellisonleao/gruvbox.nvim"
+ },
+ },
-- Configure any other settings here. See the documentation for more details.
-- colorscheme that will be used when installing plugins.
- install = { colorscheme = { "gruvbox" } },
+ install = { colorscheme = { "gruvbox" } },
-- automatically check for plugin updates
- checker = { enabled = true },
+ checker = { enabled = true },
})