Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "E492: Not an editor command" error when trying to open the summary editor #1317

Open
sandervspl opened this issue Mar 4, 2024 · 0 comments

Comments

@sandervspl
Copy link

Affected Packages

pkg:@changesets/cli

Problem

When leaving the summary empty to open the editor I get a big list of errors

Error detected while processing /Users/sandervispoel/.vimrc:
line   15:
E185: Cannot find color scheme 'molotov'
line  615:
E117: Unknown function: plug#begin
line  617:
E492: Not an editor command: Plug 'ap/vim-css-color'
line  618:
E492: Not an editor command: Plug 'bling/vim-airline'
line  619:
E492: Not an editor command: Plug 'FelikZ/ctrlp-py-matcher'
line  620:
E492: Not an editor command: Plug 'guns/vim-clojure-static'
line  621:
E492: Not an editor command: Plug 'joker1007/vim-ruby-heredoc-syntax'
line  622:
E492: Not an editor command: Plug 'junegunn/vim-easy-align'
line  623:
E492: Not an editor command: Plug 'junegunn/vim-emoji'
line  624:
E492: Not an editor command: Plug 'junegunn/goyo.vim'
line  625:
E492: Not an editor command: Plug 'kchmck/vim-coffee-script'
line  626:
E492: Not an editor command: Plug 'ctrlpvim/ctrlp.vim'
line  627:
E492: Not an editor command: Plug 'kien/rainbow_parentheses.vim'
line  628:
E492: Not an editor command: Plug 'msanders/snipmate.vim'
line  629:
E492: Not an editor command: Plug 'mustache/vim-mustache-handlebars'
line  630:
E492: Not an editor command: Plug 'nathanaelkane/vim-indent-guides'
line  631:
E492: Not an editor command: Plug 'oplatek/Conque-Shell'
line  632:
E492: Not an editor command: Plug 'pangloss/vim-javascript'
line  633:
E492: Not an editor command: Plug 'rking/ag.vim'
line  634:
E492: Not an editor command: Plug 'scrooloose/nerdcommenter'
line  635:
E492: Not an editor command: Plug 'scrooloose/syntastic'
line  636:
E492: Not an editor command: Plug 'slim-template/vim-slim', { 'for': 'slim' }
line  637:
E492: Not an editor command: Plug 'thoughtbot/vim-rspec'
line  638:
E492: Not an editor command: Plug 'tpope/vim-fugitive'
line  639:
E492: Not an editor command: Plug 'tpope/vim-haml'
line  640:
E492: Not an editor command: Plug 'tpope/vim-markdown',     { 'for': 'markdown' }
line  641:
E492: Not an editor command: Plug 'tpope/vim-rails'
line  642:
E492: Not an editor command: Plug 'tpope/vim-repeat'
line  643:
E492: Not an editor command: Plug 'tpope/vim-surround'
line  644:
E492: Not an editor command: Plug 'vim-ruby/vim-ruby'
line  645:
E492: Not an editor command: Plug 'vim-scripts/fish.vim',   { 'for': 'fish' }
line  646:
E492: Not an editor command: Plug 'vim-scripts/jade.vim',   { 'for': 'jade' }
line  647:
E492: Not an editor command: Plug 'wavded/vim-stylus',      { 'for': 'stylus' }
line  648:
E492: Not an editor command: Plug 'wlangstroth/vim-racket'
line  649:
E492: Not an editor command: Plug 'xolox/vim-misc'
line  650:
E492: Not an editor command: Plug 'xolox/vim-notes'
line  652:
E117: Unknown function: plug#end
Press ENTER or type command to continue

After pressing ENTER

E303: Unable to open swap file for "/var/folders/jw/8sg548lj7x7ckk8n62hyxmbh0000gn/T/tmp-28578KaNXB2zzEPBs.md", recovery impossible
"/var/folders/jw/8sg548lj7x7ckk8n62hyxmbh0000gn/T/tmp-28578KaNXB2zzEPBs.md" [noeol] 4L, 82B
Press ENTER or type command to continue

After pressing ENTER again I am in the editor

Screenshot 2024-03-04 at 14 11 08

After entering a summary and saving I see this, so I have to force save with :x!

<sg548lj7x7ckk8n62hyxmbh0000gn/T/tmp-337515QLIa31JrCB7.md [+] 1,4            All
<ate/var/folders/jw/8sg548lj7x7ckk8n62hyxmbh0000gn/T/tmp-337515QLIa31JrCB7.md"
"/private/var/folders/jw/8sg548lj7x7ckk8n62hyxmbh0000gn/T/tmp-337515QLIa31JrCB7.
md" E510: Can't make backup file (add ! to write anyway)
Press ENTER or type command to continue
  • Macbook m2
  • Node 18.18
  • NPM 10.3

If you need more details I am happy to provide them. Sadly can't provide the repository itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant