Skip to content

Wordluc/in-your-face.nvim

Repository files navigation

IN YOUR FACE neovim version

in-your-face.mp4

Configuration

return {
"Wordluc/in-your-face.nvim",
config=function ()
	vim.api.nvim_create_user_command('Try', function()
		local opt={
			windows={
				x=vim.fn.winwidth(0)-48,
				y=0
			},
		}
		require("in-your-face").setup(opt);
	end, { bang = true, nargs = '*' })
	vim.api.nvim_create_user_command('DoomFaceKill', function()
		require("in-your-face").close();
	end,{ bang = true, nargs = '*' })
end
}

Faces

errors = 0 normal 1
errors < 3 injured 11
errors < 5 more injured 19
errors >= 5 max injured 41

Future Improvement

Allow to select your own faces for each errors range.

If you wanna do it now you have to overwrite the files doom-guy-...txt, you can use a golang program (inside the go directory) where you have to specify what image convert and where put the result. go run . "/home/foo/Downloads/11.png" "../doom-guy-injured.txt".

The size of the image has to be 48x32

About

in-your-face in nvim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published