Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 06a627c

Browse files
committed
more temp stuff
1 parent 062e7ca commit 06a627c

17 files changed

+139
-94
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ module.exports = class Snippet extends Construct {
170170

171171
// helper cause Snippet isn't really ever available
172172
expand ({
173-
variables = {},
174173
cursor = atom.workspace.getActiveTextEditor().getLastCursor(),
175-
tabstops = cursor.editor.getBuffer().addMarkerLayer({ role: 'tabstops' })
174+
tabstops = cursor.editor.addMarkerLayer(),
175+
variables = {}
176176
} = {}) {
177177
if (this.legacySyntax) {
178178
atom.notifications.addWarning('Snippets: Snippet uses deprecated syntax.', {

package-lock.json

Lines changed: 29 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@
44
"description": "Expand snippets matching the current prefix with `tab`.",
55
"repository": "https://github.com/atom/snippets",
66
"license": "MIT",
7-
"main": "./lib/snippets",
7+
"main": "./snippets",
88
"scripts": {
9+
"generate": "pegjs -c ./lib/parser/config.js",
910
"lint": "standard",
1011
"lint:fix": "npm run lint -- --fix",
11-
"test": "npm run lint:fix && atom --test spec",
12-
"generate": "pegjs -c ./lib/parser/config.js"
12+
"test": "npm run lint:fix && atom --test spec"
1313
},
1414
"dependencies": {
15+
"atom-select-list": "^0.7.2",
1516
"scoped-property-store": "^0.17.0",
1617
"season": "^6.0.2"
1718
},
1819
"devDependencies": {
20+
"mock-fs": "^4.13.0",
1921
"pegjs": "^0.11.0-master.b7b87ea",
20-
"standard": "^14.3.4",
21-
"temp": "^0.9.1"
22+
"standard": "^14.3.4"
2223
},
2324
"engines": {
2425
"atom": ">=1.47.0",

0 commit comments

Comments
 (0)