Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Properties support #303

Merged
merged 13 commits into from
Jan 11, 2018
Merged

Properties support #303

merged 13 commits into from
Jan 11, 2018

Conversation

ueokande
Copy link
Owner

@ueokande ueokande commented Jan 5, 2018

close #243

configurable properties in settings are supported. The content and background script can get properties, which is set in configure or:set command in terminal. Available types of the property is string, number, and boolean.
New configure "property" is enabled in settings JSON:

{
  "properties": {
    "encoding": "utf-8",
    "tabwidth": 4,
    "number": false
  }
}

To override a property temporary, :set command is enabled in console:

:set encoding=utf-8
:set tabwidth=4
:set nonumber

The property types and default values are defined in src/shared/settings/properties.js

@ueokande ueokande changed the title Properties Properties support Jan 11, 2018
@ueokande ueokande merged commit f5dfdb0 into master Jan 11, 2018
@ueokande ueokande deleted the properties branch January 11, 2018 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable properties in settings
1 participant