add git-blame and indent-blanklines
This commit is contained in:
10
lua/crentist/lazy/git-blame.lua
Normal file
10
lua/crentist/lazy/git-blame.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return {
|
||||
'f-person/git-blame.nvim',
|
||||
config = function()
|
||||
require('gitblame').setup({
|
||||
enabled = true,
|
||||
date_format = '%r'
|
||||
})
|
||||
vim.keymap.set("n", "<leader>gbt", ':GitBlameToggle<CR>')
|
||||
end
|
||||
}
|
||||
1
lua/crentist/lazy/indent-blanklines.lua
Normal file
1
lua/crentist/lazy/indent-blanklines.lua
Normal file
@@ -0,0 +1 @@
|
||||
return { "lukas-reineke/indent-blankline.nvim", main = "ibl", opts = {} }
|
||||
@@ -49,7 +49,18 @@ return {
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
sections = {
|
||||
lualine_c = {
|
||||
'filename',
|
||||
function()
|
||||
return require("nvim-treesitter").statusline({
|
||||
indicator_size = 70,
|
||||
type_patterns = { "class", "function", "method" },
|
||||
separator = " -> ",
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user