Nathan Sobo
d37cfb9042
Assign default invisible character glyphs via config defaults
...
This commit also extends config.get to merge default values into the
returned object if both the assigned and default values are objects.
This allows 'atom.invisibles' to be treated as an object that always has
the default values filled in.
2014-08-13 16:32:13 -06:00
Nathan Sobo
7a4a85cb20
Fix failures running config specs locally
2014-05-16 09:00:01 -06:00
Kevin Sawicki
408665d7d2
Add Config::isDefault(keyPath)
2014-04-17 13:24:34 -07:00
Kevin Sawicki
541ffa5057
💄 Combine specs
2014-04-17 13:24:34 -07:00
Kevin Sawicki
0ea683e0b5
💄 Move expect up one line
2014-04-17 13:24:34 -07:00
Kevin Sawicki
f12004d27b
Add object to default value spec
2014-04-17 13:24:34 -07:00
Kevin Sawicki
35d268fcf8
Use _.isEqual when comparing value to default
2014-04-17 13:24:34 -07:00
Kevin Sawicki
20c3ca21e3
Add Config::getDefault(keyPath)
2014-04-17 13:24:34 -07:00
Kevin Sawicki
f153cbb41f
Don't call Config::save when setting defaults
...
Instead just emit an updated event, saving is not needed
because only the defaults are changing.
2014-04-03 11:00:45 -07:00
Kevin Sawicki
0307c0e6c9
Rename ~/.atom/styles.css to ~/.atom/styles.less
2014-02-24 16:14:05 -08:00
Kevin Sawicki
55f4a7b63e
Remove unneeded exists checks
2014-02-23 17:26:49 -08:00
Kevin Sawicki
a651254e38
Require fs-plus directly in specs
2014-02-23 17:19:00 -08:00
Kevin Sawicki
dda412d5ec
Add window:reset-font-size command
2014-02-11 15:40:12 -08:00
Kevin Sawicki
422c0e36cb
Assert init.coffee and styles.css are copied
2014-02-07 09:54:58 -08:00
Kevin Sawicki
a67d6362c2
Assert snippet.cson is copied over
2014-01-27 12:50:57 -08:00
Nathan Sobo
88eb803d91
Mock season.writeFileSyne instead of fs.writeFileSync in config specs
...
The spec suite has been overwriting my config directory in weird cases.
While investigating it I noticed that we mock writeFileSync directly in
these specs, but we actually use season to write the config cson. This
makes this spec a bit simpler because it doesn't have to parse the CSON
in the spec. Lower level assertions belong on the season package itself.
2013-12-06 22:10:26 -08:00
Kevin Sawicki
d2369e94c8
Add atom prefix to config reference
2013-11-20 12:48:05 -08:00
Kevin Sawicki
f55a200591
Return emissary subscription directly
2013-11-18 18:41:43 -08:00
Kevin Sawicki
055109a708
Remove incorrect atom. prefix from filename
2013-11-11 09:57:10 -08:00
Kevin Sawicki
a377a49004
Use atom.config instead of window.config
2013-11-11 09:16:44 -08:00
Kevin Sawicki
5756ec45ba
Add Config::toggle
2013-11-11 09:06:33 -08:00
Kevin Sawicki
0264fd6be5
Rename writeSync to writeFileSync
2013-11-01 08:46:03 -07:00
Kevin Sawicki
d8766b9aba
Use makeTreeSync
2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a
Upgrade to fs-plus@0.3.0
2013-11-01 08:46:03 -07:00
Kevin Sawicki
91436bec25
Add config.unshiftAtKeyPath helper
2013-10-29 13:31:42 -07:00
Ben Ogle
71a24ec49b
Fix config tests
2013-10-22 15:06:54 -07:00
Cheng Zhao
017c3315d2
💄 Fix typos in specs.
2013-10-21 22:23:22 +08:00
Cheng Zhao
05550717e2
Use temp.dir to replace '/tmp' in specs.
2013-10-21 21:36:08 +08:00
Kevin Sawicki
b9328c82e5
Remove themes folder from .atom template
...
Themes now go in ~/.atom/packages
2013-09-30 08:56:12 -07:00
Kevin Sawicki
d46891caf0
Rename atom-api require to atom
2013-09-20 10:03:02 -07:00
Kevin Sawicki
3197273e21
Spy on node's fs
2013-09-20 10:02:23 -07:00
Kevin Sawicki
a52951712c
Use fs from atom-api
2013-09-20 10:02:21 -07:00
Kevin Sawicki
a7a1244599
Flatten spec directory
2013-08-19 20:13:58 -07:00