[[plugins]]
repo = 'https://github.com/folke/snacks.nvim'
lazy = true
lua_add = '''
_G.Snacks = setmetatable({}, {
	__index = function(_, k)
		vim.call("dpp#source", { "snacks.nvim" })
		return _G.Snacks[k]
	end,
})
'''

[[plugins]]
repo = 'https://github.com/hrsh7th/nvim-insx'
on_event = 'InsertEnter'
hook_source = '''
source $VIMCONF/conf/plug/nvim/insx.lua
'''

[[plugins]]
repo = 'https://github.com/ibhagwan/fzf-lua'
on_cmd = 'FzfLua'
on_lua = 'fzf-lua'

[[plugins]]
repo = 'https://github.com/j-hui/fidget.nvim'
on_event = ['LspAttach']
lua_source = '''
require('fidget').setup {}
'''

[[plugins]]
repo = 'https://github.com/lewis6991/gitsigns.nvim'

[[plugins]]
repo = 'https://github.com/monaqa/dial.nvim'
on_map = '<Plug>(dial'
lua_add = '''
vim.keymap.set('n', '<C-a>', '<Plug>(dial-increment)')
vim.keymap.set('n', '<C-x>', '<Plug>(dial-decrement)')
'''
hook_source = '''
source $VIMCONF/conf/plug/nvim/dial.lua
'''

[[plugins]]
repo = 'https://github.com/stevearc/oil.nvim'
on_lua = 'oil'
on_cmd = 'Oil'
lua_source = '''
require('oil').setup {
  default_file_explorer = false,
}
'''

[[plugins]]
repo = 'NeogitOrg/neogit'
on_cmd = 'Neogit'
lua_source = '''
require('neogit').setup {}
'''

[[plugins]]
repo = 'nvim-lua/plenary.nvim'