summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-08-02 20:47:28 -0400
committerSquibid <me@zacharyscheiman.com>2023-08-02 20:47:28 -0400
commitb8d70ed288b3b542b7bb24609384aa540339b2da (patch)
tree48a7ed7dfbd5f28da60faf96a068d78a9da76b2c
parent1f975ad0750e011be2337d12dd22f32682cd824a (diff)
downloadnvim-b8d70ed288b3b542b7bb24609384aa540339b2da.tar.gz
nvim-b8d70ed288b3b542b7bb24609384aa540339b2da.tar.bz2
nvim-b8d70ed288b3b542b7bb24609384aa540339b2da.zip
add git-yodel
-rw-r--r--after/plugin/git-yodel.lua12
-rw-r--r--lua/core/plugins.lua5
2 files changed, 15 insertions, 2 deletions
diff --git a/after/plugin/git-yodel.lua b/after/plugin/git-yodel.lua
new file mode 100644
index 0000000..434ce4f
--- /dev/null
+++ b/after/plugin/git-yodel.lua
@@ -0,0 +1,12 @@
+local status_ok, yodel = pcall(require, "git-yodel")
+if not status_ok then
+ return
+end
+
+yodel.setup {
+ diffpreview = {
+ border = 'shadow',
+ width = 'auto',
+ height = 'auto',
+ }
+}
diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua
index ac4a109..d5f6379 100644
--- a/lua/core/plugins.lua
+++ b/lua/core/plugins.lua
@@ -5,8 +5,9 @@ require 'dep' {
-- branch = 'dev'
},
- -- preformance --------------------------------------------------------------
- { 'lewis6991/impatient.nvim' },
+ { 'squibid/git-yodel',
+ url = 'https://git.squi.bid/git-yodel'
+ },
-- GAMES --------------------------------------------------------------------
{ 'seandewar/killersheep.nvim' },