-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 #2 Workaround upstream Atom bug. Remove dependency to atom-config-p…
…lus module
- Loading branch information
Showing
4 changed files
with
53 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,8 @@ | ||
ConfigPlus = require 'atom-config-plus' | ||
module.exports = | ||
scope: 'smalls' | ||
|
||
get: (param) -> | ||
atom.config.get("#{@scope}.#{param}") | ||
|
||
module.exports = new ConfigPlus 'smalls', | ||
labelChars: | ||
order: 1 | ||
type: 'string' | ||
default: ';ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
description: "Lower case char not supported" | ||
labelPosition: | ||
order: 2 | ||
type: 'string' | ||
default: 'start' | ||
enum: ['start', 'end'] | ||
jumpTriggerInputLength: | ||
order: 3 | ||
type: 'integer' | ||
minimum: 0 | ||
default: 0 | ||
description: "0 means disable. If input exceed this length, automatically start jump mode" | ||
flashOnLand: | ||
order: 32 | ||
type: 'boolean' | ||
default: true | ||
description: "flash effect on land" | ||
flashType: | ||
order: 35 | ||
type: 'string' | ||
default: 'word' | ||
enum: ['match', 'word'] | ||
description: 'Range to be flashed' | ||
set: (param, value) -> | ||
atom.config.set("#{@scope}.#{param}", value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters