Skip to content

Instantly share code, notes, and snippets.

#meta

util = util or {}

function printTree(tree, level)
  -- recursive
  local indentation = string.rep(" ", level * 2)
  local response = "\n" .. indentation
  local typesToSkipChildren = {
@wbhouston
wbhouston / git.md
Last active May 17, 2025 23:54 — forked from zefhemel/git.md

#meta

git = {}
gitConfig = config.get("git", {})
git.autoSync = gitConfig.autoSync or false
git.autoCommitMinutes = gitConfig.autoCommitMinutes or 5
git.autoSyncDelay = gitConfig.autoSyncDelay or 60
git.skipInitialSync = gitConfig.skipInitialSync or false