Skip to content

Instantly share code, notes, and snippets.

View TunkShif's full-sized avatar
👾

Tristan Yang TunkShif

👾
View GitHub Profile
@TunkShif
TunkShif / init.lua
Last active April 21, 2024 21:41
neovim config for elixir development
local execute = vim.api.nvim_command
local fn = vim.fn
local fmt = string.format
local pack_path = fn.stdpath("data") .. "/site/pack"
-- ensure a given plugin from github.com/<user>/<repo> is cloned in the pack/packer/start directory
local function ensure (user, repo)
local install_path = fmt("%s/packer/start/%s", pack_path, repo)
if fn.empty(fn.glob(install_path)) > 0 then