Настройка uncrustify

This commit is contained in:
2025-10-11 11:05:38 +03:00
parent dc0ab74444
commit 72bbfc5694
2 changed files with 8 additions and 4 deletions

8
apps.d/uncrustify.zsh Normal file
View File

@@ -0,0 +1,8 @@
# shellcheck shell=bash
# vim: ft=sh
if command -v uncrustify >/dev/null; then
UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg"
[ -r "${UNCRUSTIFY_CONFIG}" ] && export UNCRUSTIFY_CONFIG
fi