Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leny/atom-local-config
Override atom's config with a local file.
https://github.com/leny/atom-local-config
Last synced: 7 days ago
JSON representation
Override atom's config with a local file.
- Host: GitHub
- URL: https://github.com/leny/atom-local-config
- Owner: leny
- Created: 2015-11-11T16:34:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-31T00:52:11.000Z (almost 9 years ago)
- Last Synced: 2024-04-11T15:58:56.278Z (7 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `Local Config` package
> Override atom's config with a local file.
* * *
## How it works?
When a folder/project is loaded inside atom, **local-config** look for a local config file. If one is found, **local-config** will firstly backup your actual config, then override the config with the parameters inside the local config file.
If Atom can't find a local config file, it will restore the previously backed up config, if exists.
### Commands
#### Apply local config
Look for a local config file then apply it if exists.
#### Restore config
Restore previously backed up config.
### Settings
#### Local config file path
> Array of paths to lookup in project for local config file.
**default:** `".atom", ".atom.cson", "atom.cson", ".config.cson", "config.cson", "atom-config.cson"`
#### Auto apply
> If a local config file is found when project is loaded, it will be applied.
**default:** `false`
* * *
**Note:** this package is a simple (and probably a bit _dirty_) workaround until the "per-project settings" will be implemented in Atom's core.