Support config file line continuation

1. Allow to use the line continuation, which is indicated by \ before the new line character, in config files.
2. Add a new testcase "247-config-line-continuation.t" for
    a). testing line continuation
    b). making sure string escaping still works
    c). testing line continuations within a string
    b). testing line continuations with too many lines
This commit is contained in:
hwangcc23
2015-07-14 23:38:45 +08:00
parent 9d353fa46b
commit fc1477dfb5
3 changed files with 229 additions and 12 deletions

View File

@ -1078,6 +1078,19 @@ show_marks yes|no
show_marks yes
--------------
[[line_continuation]]
=== Line continuation
Config files support line continuation, which is indicated by \ before the
new line character.
*Examples*:
-------------------
bindsym Mod1+f \
fullscreen toggle
-------------------
== Configuring i3bar
The bar at the bottom of your monitor is drawn by a separate process called