From 9c1a1e3f3683ed26958334dd4be75f84092d7169 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Fri, 2 Jul 2010 18:37:59 +0000
Subject: [PATCH] format + dash/quotes/para
---
stead/Makefile | 4 ++++
stead/Makefile.windows | 4 ++++
stead/dash.lua | 2 ++
stead/format.lua | 6 +++---
stead/para.lua | 2 ++
stead/quotes.lua | 2 ++
6 files changed, 17 insertions(+), 3 deletions(-)
create mode 100644 stead/dash.lua
create mode 100644 stead/para.lua
create mode 100644 stead/quotes.lua
diff --git a/stead/Makefile b/stead/Makefile
index f0a409c..5be0d2e 100644
--- a/stead/Makefile
+++ b/stead/Makefile
@@ -18,6 +18,10 @@ install:
$(INSTALL) snapshot.lua $(STEADPATH)/snapshot.lua
$(INSTALL) object.lua $(STEADPATH)/object.lua
$(INSTALL) format.lua $(STEADPATH)/format.lua
+ $(INSTALL) dash.lua $(STEADPATH)/dash.lua
+ $(INSTALL) para.lua $(STEADPATH)/para.lua
+ $(INSTALL) quotes.lua $(STEADPATH)/quotes.lua
+
uninstall:
$(RM) $(STEADPATH)/stead.lua
diff --git a/stead/Makefile.windows b/stead/Makefile.windows
index 91e4479..32eb7db 100644
--- a/stead/Makefile.windows
+++ b/stead/Makefile.windows
@@ -15,3 +15,7 @@ install:
copy snapshot.lua ..\bin\stead
copy object.lua ..\bin\stead
copy format.lua ..\bin\stead
+ copy para.lua ..\bin\stead
+ copy quotes.lua ..\bin\stead
+ copy dash.lua ..\bin\stead
+
diff --git a/stead/dash.lua b/stead/dash.lua
new file mode 100644
index 0000000..30344fb
--- /dev/null
+++ b/stead/dash.lua
@@ -0,0 +1,2 @@
+require "format"
+format.dash = true
diff --git a/stead/format.lua b/stead/format.lua
index 82d2a2d..4f94df0 100644
--- a/stead/format.lua
+++ b/stead/format.lua
@@ -1,8 +1,8 @@
format = {
- para = true;
+ para = false;
para_space = ' ';
- quotes = true;
- dash = true;
+ quotes = false;
+ dash = false;
filter = nil
}
diff --git a/stead/para.lua b/stead/para.lua
new file mode 100644
index 0000000..812fda4
--- /dev/null
+++ b/stead/para.lua
@@ -0,0 +1,2 @@
+require "format"
+format.para = true
diff --git a/stead/quotes.lua b/stead/quotes.lua
new file mode 100644
index 0000000..be73386
--- /dev/null
+++ b/stead/quotes.lua
@@ -0,0 +1,2 @@
+require "format"
+format.quotes = true