Skip to content

Instantly share code, notes, and snippets.

View Jezda1337's full-sized avatar
🐧
the more you fuck around the more you'll find out

Радоје Јездић Jezda1337

🐧
the more you fuck around the more you'll find out
View GitHub Profile
local ensure_packer = function()
local fn = vim.fn
local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
fn.system({ 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path })
vim.cmd [[packadd packer.nvim]]
return true
end
return false
end