diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index ba9ac325f..82386e6ba 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -3,7 +3,7 @@ path = require 'path' Q = require 'q' _ = require 'underscore-plus' Delegator = require 'delegato' -{deprecate} = require 'grim' +{deprecate, logDeprecationWarnings} = require 'grim' scrollbarStyle = require 'scrollbar-style' {$, $$, View} = require './space-pen-extensions' fs = require 'fs-plus' @@ -141,8 +141,8 @@ class WorkspaceView extends View @command 'window:focus-pane-on-left', => @focusPaneViewOnLeft() @command 'window:focus-pane-on-right', => @focusPaneViewOnRight() @command 'window:save-all', => @saveAll() - @command 'window:toggle-invisibles', => - atom.config.toggle("editor.showInvisibles") + @command 'window:toggle-invisibles', => atom.config.toggle("editor.showInvisibles") + @command 'window:log-deprecation-warnings', => logDeprecationWarnings() @command 'window:toggle-auto-indent', => atom.config.toggle("editor.autoIndent")