From d33d907f53c50d323eca75c4bfc02ab5b989b30a Mon Sep 17 00:00:00 2001 From: dacctal Date: Mon, 27 Apr 2026 05:30:46 +0000 Subject: added bare plugins --- .config/vis/plugins/vis-lspc/tools/check-format | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .config/vis/plugins/vis-lspc/tools/check-format (limited to '.config/vis/plugins/vis-lspc/tools/check-format') diff --git a/.config/vis/plugins/vis-lspc/tools/check-format b/.config/vis/plugins/vis-lspc/tools/check-format new file mode 100755 index 0000000..392d023 --- /dev/null +++ b/.config/vis/plugins/vis-lspc/tools/check-format @@ -0,0 +1,8 @@ +#!/bin/sh + +LUA_FILE=$1 +lua-format "${LUA_FILE}" > "${LUA_FILE}.fmt" +diff "${LUA_FILE}" "${LUA_FILE}.fmt" +RET=$? +rm "${LUA_FILE}.fmt" +exit ${RET} -- cgit v1.2.3