Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
config:scripts:lua [2013/07/11 03:21] – Updated SVN changes script to v0.7 thrawn | config:scripts:lua [2015/01/14 21:22] (current) – Adding "Format document on save" script olsonpm | ||
---|---|---|---|
Line 143: | Line 143: | ||
{{: | {{: | ||
+ | |||
+ | {{tag> | ||
+ | |||
+ | |||
+ | ===== Format document on save ===== | ||
+ | |||
+ | This file is more a framework to write your own cli calls to format the current file upon save. There are a few hacks to get around the issue | ||
+ | of a possible infinite loop (since the workflow is save -> format document -> save), but everything is heavily commented for your ease of use. | ||
+ | Please note you will need to save this file under the reserved .../ | ||
+ | |||
+ | {{: | ||
{{tag> | {{tag> | ||