carlosdcastillo / vim-mode

Experimental next generation vim support for atom. This project needs a new home!
557 stars 18 forks source link

Uncaught TypeError: Cannot read property 'onDidChangeScrollTop' of undefined #23

Open vcraescu opened 9 years ago

vcraescu commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.182.0 System: linux 3.13.0-51-generic Thrown From: vim-mode package, v0.10.1

Stack Trace

Uncaught TypeError: Cannot read property 'onDidChangeScrollTop' of undefined

At /home/viorel/.atom/packages/vim-mode/lib/vim-state.coffee:536

TypeError: Cannot read property 'onDidChangeScrollTop' of undefined
  at /home/viorel/.atom/packages/vim-mode/lib/vim-state.coffee:536:35
  at Socket.<anonymous> (/home/viorel/.atom/packages/vim-mode/lib/vim-state.coffee:74:15)
  at Socket.emit (events.js:116:17)
  at readableAddChunk (_stream_readable.js:164:16)
  at Socket.Readable.push (_stream_readable.js:127:10)
  at Pipe.onread (net.js:530:20)

Commands

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages

# User
linter, v0.12.1
vim-mode, v0.10.1

# Dev
No dev packages
gaving commented 9 years ago

Duplicate of https://github.com/carlosdcastillo/vim-mode/issues/22

gaving commented 9 years ago

Sorted in master: https://github.com/carlosdcastillo/vim-mode/issues/22#issuecomment-101057182