Skip to content

Commit

Permalink
FEAT: Settings for enable/disable
Browse files Browse the repository at this point in the history
Fixes #24
  • Loading branch information
Marc Udoff committed Mar 29, 2021
1 parent f32dea7 commit 015a3d2
Show file tree
Hide file tree
Showing 4 changed files with 491 additions and 437 deletions.
3 changes: 3 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# History

### 0.14.0
* Add ability to enable/disable plugin in settings (#24)

## 0.13.3 / 2021-02-22

* Fix saving column position when moving by lines (#28)
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,20 @@
},
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}"
"style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"schema/**/*.{json,}"
],
"jupyterlab": {
"extension": true,
"outputDir": "jupyterlab_vim/labextension"
"outputDir": "jupyterlab_vim/labextension",
"schemaDir": "schema"
},
"dependencies": {
"@jupyterlab/application": "^3.0.0-rc.13",
"@jupyterlab/cells": "^3.0.0-rc.13",
"@jupyterlab/codemirror": "^3.0.0-rc.13",
"@jupyterlab/notebook": "^3.0.0-rc.13",
"@jupyterlab/settingregistry": "^3.0.0-rc.13",
"@lumino/commands": "^1.12.0",
"@lumino/coreutils": "^1.5.3",
"@lumino/domutils": "^1.2.3",
Expand Down
14 changes: 14 additions & 0 deletions schema/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Notebook Vim",
"description": "Notebook Vim Settings",
"type": "object",
"additionalProperties": true,
"properties": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"description": "Enable/disable notebook vim (may require a page refresh)",
"default": true
}
}
}
Loading

0 comments on commit 015a3d2

Please sign in to comment.