Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
npm-debug.log
node_modules
4 changes: 2 additions & 2 deletions keymaps/tern.cson
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

# For more detailed documentation see
# https://atom.io/docs/latest/advanced/keymaps
'.tern .mini.editor input':
'.tern atom-text-editor[mini]atom-text-editor input':
'enter': 'core:confirm'
'tab': 'core:confirm'
'.editor':
'atom-text-editor':
'cmd-space': 'tern:completion'
6 changes: 4 additions & 2 deletions menus/tern.cson
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# See https://atom.io/docs/latest/creating-a-package#menus for more details
'context-menu':
'.overlayer':
'Enable tern': 'tern:toggle'
'atom-workspace': [{
label: 'Enable tern',
command: 'tern:toggle'
}]

'menu': [
{
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"version": "0.8.0",
"private": true,
"description": "Smart javascript code intelligence for Atom.io",
"activationEvents": [
"tern:completion",
"tern:start-server"
],
"activationCommands": {
"atom-text-editor": ["tern:completion", "tern:start-server"]
},
"repository": "https://github.com/artoale/atom-tern",
"license": "MIT",
"engines": {
Expand Down
File renamed without changes.