mirror of
https://github.com/atom/atom.git
synced 2026-02-09 22:24:59 -05:00
Don't activate autocomplete on its own mini editor
This commit is contained in:
@@ -26,7 +26,8 @@ class Autocomplete extends View
|
||||
|
||||
@activate: (rootView) ->
|
||||
new Autocomplete(editor) for editor in rootView.editors()
|
||||
rootView.on 'editor-open', (e, editor) -> new Autocomplete(editor)
|
||||
rootView.on 'editor-open', (e, editor) ->
|
||||
new Autocomplete(editor) unless editor.is('.autocomplete .mini')
|
||||
|
||||
initialize: (@editor) ->
|
||||
requireStylesheet 'autocomplete.css'
|
||||
|
||||
Reference in New Issue
Block a user