From 01d4fb81c6a5991f88bbe135ac8ef2e11e0f983c Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 7 Mar 2015 18:24:03 -0500 Subject: Rework indentation - Change continued field values to support Python indentation. This is useful when the value is using something like format (but only applies to naked field keys). - Don't move back to the start of the line when in a continued field value. - When on the first line of block, only indent to main offset. - Move to current indentation if point is before it. Unless there is one possible value for indentation, don't adjust indentation any further. --- NEWS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index e2dd498..c456238 100644 --- a/NEWS +++ b/NEWS @@ -10,7 +10,9 @@ - Indentation for field values starting on the line below a field key is now supported. New variable `snakemake-indent-value-offset' controls the offset for the value and replaces the variable - `snakemake-indent-run-offset'. + `snakemake-indent-run-offset'. If these values are continued on + another line, indentation cycling now includes a step that indents + according to Python mode. * v0.2.0 -- cgit v1.2.3