Added git integrations
This commit is contained in:
parent
fa86cfebf5
commit
8fd602a27e
5 changed files with 86 additions and 59 deletions
19
lua/rakshit/plugins/git-blame.lua
Normal file
19
lua/rakshit/plugins/git-blame.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
"f-person/git-blame.nvim",
|
||||
-- load the plugin at startup
|
||||
event = "VeryLazy",
|
||||
-- Because of the keys part, you will be lazy loading this plugin.
|
||||
-- The plugin wil only load once one of the keys is used.
|
||||
-- If you want to load the plugin at startup, add something like event = "VeryLazy",
|
||||
-- or lazy = false. One of both options will work.
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- for example
|
||||
enabled = true, -- if you want to enable the plugin
|
||||
message_template = " <author> • <date> • <summary> • <<sha>>", -- template for the blame message, check the Message template section for more options
|
||||
date_format = "%m-%d-%Y", -- template for the date, check Date format section for more options
|
||||
virtual_text_column = 80, -- virtual text start column, check Start virtual text at column section for more options
|
||||
message_when_not_committed = "Not committed yet",
|
||||
display_virtual_text = 1,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue