technicalpickles / technicalpickles/dotfiles

Errors when using vim on codespaces

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
25
Forks
6
Avg merge
20h 54m
Merged PRs (30d)
20

Description

I think it's still using vim for git commits, which is it's own problem:

Hint: Waiting for your editor to close the file... Error detected while processing /root/.vimrc:
line    2:
E319: Sorry, the command is not available in this version:   call plug#begin('~/.vim/plugged')
line    5:
E492: Not an editor command:   Plug 'https://github.com/atelierbram/vim-colors_atelier-schemes.git'
line    6:
E492: Not an editor command:   Plug 'https://github.com/ayu-theme/ayu-vim.git'
line    7:
E492: Not an editor command:   Plug 'https://github.com/cocopon/iceberg.vim.git'
line    8:
E492: Not an editor command:   Plug 'https://github.com/dracula/vim.git', { 'as': 'dracula' }
line    9:
E492: Not an editor command:   Plug 'https://github.com/gosukiwi/vim-atom-dark.git'
line   10:
E492: Not an editor command:   Plug 'https://github.com/joshdick/onedark.vim.git'
line   11:
E492: Not an editor command:   Plug 'https://github.com/morhetz/gruvbox.git'
line   12:
E492: Not an editor command:   Plug 'https://github.com/w0rp/ale.git'
line   15:
E492: Not an editor command:   Plug 'https://github.com/StanAngeloff/php.vim.git'
line   16:
E492: Not an editor command:   Plug 'https://github.com/asciidoc/vim-asciidoc.git'
line   17:
E492: Not an editor command:   Plug 'https://github.com/gcorne/vim-sass-lint.git'
line   18:
E492: Not an editor command:   Plug 'https://github.com/groenewege/vim-less.git'
line   19:
E492: Not an editor command:   Plug 'https://github.com/hail2u/vim-css3-syntax.git'
line   20:
E492: Not an editor command:   Plug 'https://github.com/jparise/vim-graphql.git'
line   21:
E492: Not an editor command:   Plug 'https://github.com/othree/html5.vim.git'
line   22:
E492: Not an editor command:   Plug 'https://github.com/pangloss/vim-javascript.git'
line   23:
E492: Not an editor command:   Plug 'https://github.com/rhysd/vim-crystal.git'
line   24:
E492: Not an editor command:   Plug 'https://github.com/rhysd/vim-syntax-codeowners.git'
line   25:
E492: Not an editor command:   Plug 'https://github.com/rodjek/vim-puppet.git'
line   26:
E492: Not an editor command:   Plug 'https://github.com/vim-ruby/vim-ruby.git'
line   27:
E492: Not an editor command:   Plug 'https://github.com/johann-p-koebbe/rspec.vim.git'  " fork with better ultisnips support
line   28:
E492: Not an editor command:   Plug 'https://github.com/jtratner/vim-flavored-markdown.git'
line   29:
E492: Not an editor command:   Plug 'https://github.com/mxw/vim-jsx.git'
line   30:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-liquid.git'
line   34:
E492: Not an editor command:   Plug 'https://github.com/LucHermitte/lh-vim-lib.git'
line   35:
E492: Not an editor command:   Plug 'https://github.com/Raimondi/delimitMate.git'
line   36:
E492: Not an editor command:   Plug 'https://github.com/airblade/vim-gitgutter.git'
line   37:
E492: Not an editor command:   Plug 'https://github.com/digitaltoad/vim-pug.git'
line   38:
E492: Not an editor command:   Plug 'https://github.com/editorconfig/editorconfig-vim.git'
line   39:
E492: Not an editor command:   Plug 'https://github.com/farmergreg/vim-lastplace.git'
line   40:
E492: Not an editor command:   Plug 'https://github.com/godlygeek/tabular.git'
line   42:
E492: Not an editor command:   Plug 'https://github.com/jlanzarotta/bufexplorer.git'
line   43:
E492: Not an editor command:   Plug 'https://github.com/jmcantrell/vim-virtualenv.git'
line   44:
E492: Not an editor command:   Plug 'https://github.com/joker1007/vim-ruby-heredoc-syntax.git'
line   45:
E492: Not an editor command:   Plug 'https://github.com/junegunn/vim-easy-align.git'
line   46:
E492: Not an editor command:   Plug 'https://github.com/kchmck/vim-coffee-script.git'
line   48:
E492: Not an editor command:   Plug 'https://github.com/mhinz/vim-grepper.git'
line   49:
E492: Not an editor command:   Plug 'https://github.com/mhinz/vim-startify.git'
line   50:
E492: Not an editor command:   Plug 'https://github.com/moll/vim-node.git'
line   51:
E492: Not an editor command:   Plug 'https://github.com/nanotech/jellybeans.vim.git'
line   52:
E492: Not an editor command:   Plug 'https://github.com/niftylettuce/vim-jinja.git'
line   53:
E492: Not an editor command:   Plug 'https://github.com/oscarh/vimerl.git'
line   54:
E492: Not an editor command:   Plug 'https://github.com/scrooloose/nerdcommenter.git'
line   55:
E492: Not an editor command:   Plug 'https://github.com/scrooloose/nerdtree.git'
line   56:
E492: Not an editor command:   Plug 'https://github.com/sickill/vim-pasta.git'
line   57:
E492: Not an editor command:   Plug 'https://github.com/skammer/vim-css-color.git'
line   58:
E492: Not an editor command:   Plug 'https://github.com/spiiph/vim-space.git'
line   59:
E492: Not an editor command:   Plug 'https://github.com/technicalpickles/vim-nodenv.git'
line   60:
E492: Not an editor command:   Plug 'https://github.com/technicalpickles/vim-ruby-minitest.git' " fork with different filetype
line   61:
E492: Not an editor command:   Plug 'https://github.com/technicalpickles/vim-snippets.git'
line   62:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-bundler.git'
line   63:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-cucumber.git'
line   64:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-dispatch.git'
line   65:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-endwise.git'
line   66:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-fugitive.git'
line   67:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-git.git'
line   68:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-markdown.git'
line   69:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-projectionist.git'
line   70:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-ragtag.git'
line   71:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-rails.git'
line   72:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-rake.git'
line   73:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-rbenv.git'
line   74:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-repeat.git'
line   75:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-rhubarb.git'
line   76:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-sensible.git'
line   77:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-surround.git'
line   78:
E492: Not an editor command:   Plug 'https://github.com/tpope/vim-unimpaired.git'
line   79:
E492: Not an editor command:   Plug 'https://github.com/vim-airline/vim-airline.git'
line   80:
E492: Not an editor command:   Plug 'https://github.com/vim-airline/vim-airline-themes.git'
line   81:
E492: Not an editor command:   Plug 'https://github.com/vim-scripts/IndentAnything.git'
line   82:
E492: Not an editor command:   Plug 'https://github.com/vim-scripts/dbext.vim.git'
line   83:
E492: Not an editor command:   Plug 'https://github.com/zerowidth/vim-bgtags.git'
line   84:
E492: Not an editor command:   Plug 'https://github.com/chrisbra/matchit.git' " fix for https://github.com/macvim-dev/macvim/issues/845
line   85:
E492: Not an editor command:   Plug 'https://github.com/Yggdroot/indentLine.git'
line   86:
E492: Not an editor command:   Plug 'https://github.com/RRethy/vim-illuminate.git'
line   87:
E492: Not an editor command:   Plug 'https://github.com/jgdavey/vim-blockle.git'
line   88:
E492: Not an editor command:   Plug 'https://github.com/reedes/vim-pencil.git'
line   89:
E492: Not an editor command:   Plug 'liuchengxu/vista.vim'
line   90:
E492: Not an editor command:   Plug 'neoclide/coc.nvim', {'branch': 'release'}
line   91:
E492: Not an editor command:   Plug 'https://github.com/drewtempelmeyer/palenight.vim.git'
line   92:
E492: Not an editor command:   Plug 'https://github.com/dermusikman/sonicpi.vim.git'
line   98:
E319: Sorry, the command is not available in this version:   call plug#end()
line  111:
E319: Sorry, the command is not available in this version:   let ayucolor="dark"   " for dark version of theme
line  121:
E319: Sorry, the command is not available in this version:   syntax on                 " Enable syntax highlighting
line  142:
E319: Sorry, the command is not available in this version:   let mapleader = ","
line  290:
E319: Sorry, the command is not available in this version:   syn match UrlNoSpell '\w\+:\/\/[^[:space:]]\+' contains=@NoSpell
line  291:
E319: Sorry, the command is not available in this version:   syn match AcronymNoSpell '\<\(\u\|\d\)\{3,}s\?\>' contains=@NoSpell
line  303:
E319: Sorry, the command is not available in this version:   function! RspecToMocha()
line  309:
E749: empty buffer
line  310:
E319: Sorry, the command is not available in this version:   endfunction
line  311:
E319: Sorry, the command is not available in this version:   command! RspecToMocha call RspecToMocha()
line  323:
E319: Sorry, the command is not available in this version:   let g:airline_powerline_fonts = 1
line  324:
E319: Sorry, the command is not available in this version:   let g:airline_skip_empty_sections = 1
line  327:
E319: Sorry, the command is not available in this version:   let g:airline#extensions#wordcount#enabled = 0
line  335:
E319: Sorry, the command is not available in this version:   let g:airline#extensions#whitespace#checks = [ 'indent', 'mixed-indent-file', 'conflicts' ]
line  339:
E319: Sorry, the command is not available in this version:   let g:airline#parts#ffenc#skip_expected_string='utf-8[unix]'
line  352:
E319: Sorry, the command is not available in this version:   let g:ctrlp_custom_ignore = { 'dir':  '\v[\/]\.(git|hg|svn|tmp|bundle)$', 'file': '\v\.(exe|so|dll|gem)$', }
line  355:
E319: Sorry, the command is not available in this version:   let g:ctrlp_extensions = ['tag']
line  358:
E319: Sorry, the command is not available in this version:   let g:ale_open_list = 1 " show when there are errors
line  359:
E319: Sorry, the command is not available in this version:   let g:ale_sign_column_always = 1 " always show sign column, so text doesn't move around
line  360:
E319: Sorry, the command is not available in this version:   let g:ale_linters_explicit = 1 " only run linters that have explicitly configured
line  370:
E319: Sorry, the command is not available in this version:   let g:ale_linters = {  'javascript': [],  'ruby': ['mri'],  'eruby': ['erubylint']}
line  374:
E319: Sorry, the command is not available in this version:   let g:ale_fixers = {   '*': ['remove_trailing_lines', 'trim_whitespace'],}
line  391:
E319: Sorry, the command is not available in this version:   let g:ale_fix_on_save = 1
line  398:
E319: Sorry, the command is not available in this version:   let g:ale_pattern_options = {   '\.env': {'ale_enabled': 0},   '\.env.*$': {'ale_enabled': 0}}
line  403:
E319: Sorry, the command is not available in this version:   let g:ale_linters_sh_shellcheck_exclusions='SC1090,SC1091'
line  411:
E319: Sorry, the command is not available in this version:   let g:ale_yaml_yamllint_options='-d "{extends: relaxed, rules: {line-length: disable}}"
line  415:
E319: Sorry, the command is not available in this version:   let g:bufExplorerDefaultHelp=0       " Do not show default help.
line  416:
E319: Sorry, the command is not available in this version:   let g:bufExplorerShowRelativePath=1  " Show relative paths.
line  419:
E319: Sorry, the command is not available in this version:   let g:local_vimrc = ['.vimrc.local']
line  423:
E319: Sorry, the command is not available in this version:   let NERDShutUp = 1
line  424:
E319: Sorry, the command is not available in this version:   let NERDTreeHijackNetrw=1
line  426:
E319: Sorry, the command is not available in this version:   let NERDTreeQuitOnOpen=1
line  428:
E319: Sorry, the command is not available in this version:   let NERDChristmasTree = 1
line  429:
E319: Sorry, the command is not available in this version:   let NERDTreeHighlightCursorline = 1
line  430:
E319: Sorry, the command is not available in this version:   let NERDTreeShowHidden = 1
line  432:
E319: Sorry, the command is not available in this version:   let NERDTreeMapActivateNode='<CR>'
line  433:
E319: Sorry, the command is not available in this version:   let NERDTreeIgnore=['\.git','\.DS_Store','\.pdf', '.beam']
line  437:
E319: Sorry, the command is not available in this version:   let g:rails_statusline=0
line  440:
E319: Sorry, the command is not available in this version:   let g:UltiSnipsExpandTrigger="<tab>"
line  441:
E319: Sorry, the command is not available in this version:   let g:UltiSnipsJumpForwardTrigger="<tab>"
line  442:
E319: Sorry, the command is not available in this version:   let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
line  446:
E319: Sorry, the command is not available in this version:   let g:space_no_tags = 1
line  449:
E319: Sorry, the command is not available in this version:   let g:ctrlp_tjump_only_silent = 1 " jump immediately if only one tag
line  453:
E319: Sorry, the command is not available in this version:   let g:NERDSpaceDelims = 1
line  455:
E319: Sorry, the command is not available in this version:   let g:NERDDefaultAlign = 'left'
line  462:
E319: Sorry, the command is not available in this version:   let g:NERDCustomDelimiters = { 'javascript.jsx': { 'left': '//', 'leftAlt': '{/*', 'rightAlt': '*/}' },}
line  465:
E319: Sorry, the command is not available in this version:   let delimitMate_expand_cr = 1
line  466:
E319: Sorry, the command is not available in this version:   let delimitMate_expand_space = 1
line  468:
E319: Sorry, the command is not available in this version:   let delimitMate_expand_inside_quotes = 1
line  474:
E319: Sorry, the command is not available in this version:   let g:javascript_plugin_jsdoc = 1
line  486:
E319: Sorry, the command is not available in this version:   let g:startify_lists = [ { 'type': 'dir',       'header': ['   MRU '. getcwd()] }, { 'type': 'sessions',  'header': ['   Sessions']       }, { 'type': 'bookmarks', 'header': ['   Bookmarks']      }, { 'type': 'commands',  'header': ['   Commands']       }, ]
line  488:
E319: Sorry, the command is not available in this version:   let g:startify_change_to_dir = 0
line  497:
E319: Sorry, the command is not available in this version:   function! s:check_back_space() abort
line  498:
E319: Sorry, the command is not available in this version:     let col = col('.') - 1
line  499:
E319: Sorry, the command is not available in this version:     return !col || getline('.')[col - 1]  =~ '\s'
line  500:
E319: Sorry, the command is not available in this version:   endfunction
line  555:
E319: Sorry, the command is not available in this version:   let g:bgtags_user_commands = { "directories": { "default": "ctags -R" }, "filetypes": { "default": "ctags -f-" } }
line  566:
E319: Sorry, the command is not available in this version:   let g:ruby_heredoc_syntax_filetypes = { "graphql" : {   "start" : "GRAPHQL",}, "ruby" : {   "start" : "SOURCE",},}
line  569:
E319: Sorry, the command is not available in this version:   let g:vim_markdown_new_list_item_indent = 2
line  572:
E319: Sorry, the command is not available in this version:   let g:vista_fzf_preview = ['right:50%']
line  576:
E319: Sorry, the command is not available in this version:   let g:vista#renderer#icons = {   "chapter": "\uf405",  }
line  580:
E319: Sorry, the command is not available in this version:   let g:Illuminate_ftblacklist = ['nerdtree']
line  596:
E319: Sorry, the command is not available in this version: let g:sonicpi_command = 'sonic-pi-tool'
line  597:
E319: Sorry, the command is not available in this version: let g:sonicpi_send = 'eval-stdin'
line  598:
E319: Sorry, the command is not available in this version: let g:sonicpi_stop = 'stop'
line  599:
E319: Sorry, the command is not available in this version: let g:vim_redraw = 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce a Git commit in Codespaces and inspect the /root/.vimrc configuration shown in the error output, along with the Vim version and plugin setup it expects. Done means the commit editor opens without the reported E319, E492, and E749 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell, vim
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.