Below is a code for Minifiles Git integration code snippet.
Just insert the code below into this function in your Minifiles config:
config = function()
-- add the git code here
end
Created by Andrew Lee ([email protected])
This tutorial has been tested on Virtualbox.
Guide in GitHub: https://gist.github.com/Alee14/e32a44e53d910a4cf5802e0c59d78061
Guide in Rentry: https://rentry.co/arch-2002
local utils = require('telescope.utils') | |
local defaulter = utils.make_default_callable | |
local actions = require('telescope.actions') | |
local finders = require('telescope.finders') | |
local make_entry = require('telescope.make_entry') | |
local pickers = require('telescope.pickers') | |
local previewers = require('telescope.previewers') | |
local builtin = require('telescope.builtin') | |
local conf = require('telescope.config').values | |
local flatten = vim.tbl_flatten |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
function command_not_found_handle { | |
{echo "It looks like you're trying to run a UNIX command.";echo "Would you like some help with that?"; echo; /usr/lib/command-not-found $1 2>&1|fold -sw 55}|cowsay -f$HOME/.clippy -n | |
} |