Commit Graph

13 Commits

Author SHA1 Message Date
Zachary Yedidia
4ca6e65197 Default setting for tabsize should be float64 not int
Fixes #92
2016-05-02 07:23:08 -04:00
Zachary Yedidia
56cdfcfe46 If a setting is not defined, use the default, not the zero value 2016-04-30 15:02:33 -04:00
Zachary Yedidia
f6393dd835 Use a map for settings instead of a struct
Using a map for the settings means that plugins will be able to create
their own settings at runtime.
2016-04-30 11:39:48 -04:00
Zachary Yedidia
eabf21d3ed Use reflection for setting options 2016-04-24 15:35:16 -04:00
Zachary Yedidia
8807ede224 Added StartOfLine and EndOfLine actions
This commit also adds error reporting for invalid json.

Fixes #36.
2016-04-24 09:01:01 -04:00
aerth
7746952545 gofmt-on-save redone for new bindings 2016-04-24 01:48:51 +00:00
Zachary Yedidia
7281cdbadd Fix autoindent setting 2016-04-23 08:56:45 -04:00
aerth
23248c3a6f Add ruler to possibleSettings 2016-04-22 20:15:38 +00:00
aerth
0440ca45cd Toggle line numbers 2016-04-22 20:02:26 +00:00
Zachary Yedidia
c7f8584d84 Add tabsToSpaces option 2016-04-18 13:01:39 -04:00
Zachary Yedidia
8dee0ad2d5 Use XDG_CONFIG_HOME for configuration directory
Fixes #18
2016-04-18 10:31:19 -04:00
Zachary Yedidia
63ce8bcfce Create ~/.micro if it does not exist 2016-04-18 09:40:27 -04:00
aerth
337f162360 now is go gettable and updated make file 2016-04-18 10:59:41 +00:00