install failed with vim and nvim in wsl #37479
-
|
vim error ➜ ~ vim
Error detected while processing /home/scguo/.vim/pack/github/start/copilot.vim/plugin/copilot.vim:
line 1:
E488: Trailing characters: ^M
line 93:
E171: Missing :endif
Press ENTER or type command to continuenvim error Error detected while processing /home/scguo/.config/nvim/pack/github/start/copilot.vim/plugin/copilot.vim:
line 1:
E15: Invalid expression: exists('g:loaded_copilot')^M
line 93:
E171: Missing :endif
Press ENTER or type command to continuecopilot version 1.6.0 8ba151a (HEAD -> release, origin/release, origin/HEAD) Copilot.vim 1.6.0
af9da64 Copilot.vim 1.5.4
1bfbaf5 Copilot.vim 1.5.3
e219dd9 Copilot.vim 1.5.2
5544600 Copilot.vim 1.5.1
da286d8 Copilot.vim 1.5.0
6c5abda Copilot.vim 1.4.3
c2e75a3 Copilot.vim 1.4.2
5e9d4dc Copilot.vim 1.4.1
aa9e451 Copilot.vim 1.4.0
042543f Copilot.vim 1.3.5
585e1a9 Copilot.vim 1.3.4
bd6efea Copilot.vim 1.3.3
ad102c7 Copilot.vim 1.3.2
f6cdb5c Copilot.vim 1.3.1
df203c1 Copilot.vim 1.3.0
4b3f322 Copilot.vim 1.2.3
573da1a Copilot.vim 1.2.2
f53a906 Copilot.vim 1.2.1
05e1298 Copilot.vim 1.2.0
47eb231 Copilot.vim 1.1.0
c013148 Copilot.vim 1.0.5
6149088 Copilot.vim 1.0.4
cd79468 Copilot.vim 1.0.3
399fd15 Copilot.vim 1.0.2
e1be74e Copilot.vim 1.0.1
03a11ad Copilot.vim 1.0.0vim version ➜ copilot.vim git:(release) vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 19 2022 18:24:48)
Included patches: 1-800nvim version ➜ copilot.vim git:(release) nvim --version
NVIM v0.8.0-1210-gd367ed9b2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by runner@fv-az505-656
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/share/nvim"
Run :checkhealth for more infoos version ➜ ~ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"wsl version ➜ ~ wsl.exe --version
WSL 版本: 0.70.4.0
内核版本: 5.15.68.1
WSLg 版本: 1.0.45
MSRDC 版本: 1.2.3575
Direct3D 版本: 1.606.4
DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows版本: 10.0.22621.674 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi there @scguoi and welcome to our community! Thank you for asking a great question 🙂 To get started, introduce yourself in our official introduction thread |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Trailing characters: ^Mindicates the file has DOS line endings. Can you tell me if your.gitconfighas anyeol,autocrlf, orsafecrlfoptions set?