Skip to content

^M problem when launching NeoVim #722

Closed Answered by ikkihou
ikkihou asked this question in Q&A
Discussion options

You must be logged in to vote

appreciate your help!
I solved the problem by the two steps below:

step 1

git config --global core.autocrlf false

step 2 add the line below to ~/.vimrc (if not exists then create one)

set formatfile=unix

Finally, I delete all the plugins and the ~/.config/nvim folder and clone the nvimdots repo, and run nvim, then everything goes well. Lol.

I guess the main cause of this E488,E492 error is the core.autocrlf setting in git config.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@CharlesChiuGit
Comment options

@ikkihou
Comment options

@ikkihou
Comment options

@CharlesChiuGit
Comment options

@CharlesChiuGit
Comment options

Comment options

You must be logged in to vote
1 reply
@ikkihou
Comment options

Answer selected by ayamir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants