summaryrefslogtreecommitdiff
path: root/src/option_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-10-06 19:21:32 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-10-06 19:21:32 +0100
commit17d591b61cc89d9343ad024fdbe76da96f7675c6 (patch)
tree13048f0e516aa83d42140407f0c4d6195f789c09 /src/option_manager.cc
parent844c8f1ec4bfae6ee51fc70b9b6ebb0a4cd894ff (diff)
scrolloff is now a line,column pair
Fixes #152
Diffstat (limited to 'src/option_manager.cc')
-rw-r--r--src/option_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option_manager.cc b/src/option_manager.cc
index ce806b27..8b7c2f76 100644
--- a/src/option_manager.cc
+++ b/src/option_manager.cc
@@ -134,8 +134,8 @@ GlobalOptions::GlobalOptions()
declare_option("tabstop", "size of a tab character", 8);
declare_option("indentwidth", "indentation width", 4);
declare_option("scrolloff",
- "number of lines to keep visible main cursor when scrolling",
- 0);
+ "number of lines and columns to keep visible main cursor when scrolling",
+ CharCoord{0,0});
declare_option("eolformat", "end of line format: 'crlf' or 'lf'", "lf"_str);
declare_option("BOM", "insert a byte order mark when writing buffer",
"no"_str);