This plugin shows "git blame" information of a file. The blame information shown will include :
- Latest commit hash
- Latest commiter Username
- Latest commit date & time
- Latest commit message
This plugin is inspired by Sublime Text's Git Blame Package.
Clone this repo into your plugins folder and rename the cloned folder to gitblame. The plugins folder is usually at LITE_XL_CONFIG_DIR/plugins (in case of linux, this is ~/.config/lite-xl/plugins).
$ git clone https://github.com/juliardi/lite-xl-gitblame.git gitblame
There are 2 options you can select to configure this plugin.
You can configure this plugin by adding this snippet to LITE_XL_CONFIG_DIR/init.lua (For Linux, this usually translates to ~/.config/lite-xl/init.lua).
config.plugins.gitblame = {
-- Text color of blame information
text_color = {200, 140, 220},
-- Font size of blame information
font_size = 14,
-- The commit message will be truncated if it is longer than this variable's value
max_commit_message_length = 50,
-- If debug = true, then this plugin will output a log which can be accessed
-- from "Core : Open Log" command
debug = false,
-- Git executable path
git_executable = "/usr/bin/git",
}This plugin also support configuration from Settings UI.


