Closed jchristianhall closed 6 years ago
I cannot reproduce the issue. My OS and Atom version is same as yours.
How about the result when you execute "sort" from command-palette(not via keymap). Btw, you don't need that explicit keymap in your keymap.cson since vmp have already set it by default.
@t9md I get the same error when executing sort from the command palette. I've also removed the explicit keymap from my config. Should I share my vim-mode-plus config as well? I also tried removing the package and reinstalling it, but to no avail.
Yes, you need, do this below. The instruction you removed when you open this issue.
Vim Mode Plus: Clip Debug Info
command.And also, I need exact step and condition to reproduce
Oh, I noticed, who throwing exception is git-plus pkg. Can you still reproduce issue after temporarily disabling git-plus?
The diff between your env and me is this part from your stack trace.
Sort
operator call Array.prototype.sort
. But in your environment, Array.sort is being called, which seem to be patched by git-plus.
TypeError: null is not a function!
at module.exports (/packages/git-plus/node_modules/core-js/modules/_a-function.js:2:38)
at Array.sort (/packages/git-plus/node_modules/core-js/modules/es6.array.sort.js:21:36)
@t9md git-plus
was the issue. Sort's working great now. Thanks so much!
Description
After updating to the latest
vim-mode-plus
, the sort function is throwing an uncaught error. I have the following in mykeymap.cson
:I have not noticed this problem with any other vim keystrokes
Steps to reproduce
shift + V
g s
Atom: 1.28.0 x64 Electron: 2.0.3 OS: Mac OS X 10.13.5 Thrown From: vim-mode-plus package 1.33.0
Stack Trace
Uncaught TypeError: null is not a function!
Commands
Non-Core Packages